rescue_from(*klasses, &block)
Instance Public methods
Rescue exceptions raised in controller actions.
rescue_from receives a series of exception classes or class
names, and a trailing :with option with the name of a method
or a Proc object to be called to handle them. Alternatively a block can be
given.
Handlers that take one argument will be called with the exception, so that
the exception can be inspected when dealing with it.
Handlers are inherited. They are searched from ri