module Roda::RodaPlugins::ErrorHandler::ClassMethods

def error(&block)

the exception in the scope of the Roda instance.
the request raises an exception, the block will be called with
Install the given block as the error handler, so that if routing
def error(&block)
  define_method(:handle_error, &block)
  private :handle_error
end