Registers exception classes with a handler to be called by rescue_with_handler. rescue_from receives a series of exception classes or class names, and an exception handler specified by a trailing :with option containing the name of a method or a Proc object. Alternatively, a block can be given as the handler. Handlers that take one argument will be called with the exception, so that the exception