Ok, found it. Different kind of exceptions can be be redirected by
Rack::RouteExceptions.route, for instance:
Rack::RouteExceptions.route(Exception, MyController.r(:error))
will route all exceptions to the error action.
Now I just need to figure out how to pass the exception to different
controllers depending on where the error occured. Any ideas?
/lasso