Module: Hanami::Action::Throwable
- Defined in:
- lib/hanami/action/throwable.rb
Overview
Throw API
Defined Under Namespace
Modules: ClassMethods
Constant Summary collapse
- RACK_ERRORS =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
'rack.errors'.freeze
- RACK_EXCEPTION =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
This isn’t part of Rack SPEC
Exception notifiers use
rack.exception
instead ofrack.errors
, so we need to support it. 'rack.exception'.freeze
Class Method Summary collapse
- .included(base) ⇒ Object private
Class Method Details
.included(base) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
33 34 35 |
# File 'lib/hanami/action/throwable.rb', line 33 def self.included(base) base.extend ClassMethods end |