dispatcher context used as a request ?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

dispatcher context used as a request ?

oceatoon
Hi every one

I'm trying to implement error catching in the addOrIncreaseItem but
unfortunetly I'd have to pass along the request through all methods
and addOrIncreaseItem is used in many different places which makes
refactoring quite heavy.
the dispatcher is allready part of addOrIncreaseItem parameters.

is there a std way of doing this, that I missed ?
could I use the dispatcher context to gather errors done , and in the end
pass them to the request?

Thx for the thoughts