Module: Lotus::Action::Throwable

Defined in:
lib/lotus/action/throwable.rb

Overview

Throw API

See Also:

  • ClassMethods#handle_exception
  • #halt
  • #status

Since:

  • 0.1.0

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.

Since:

  • 0.2.0

'rack.errors'.freeze

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object

Since:

  • 0.1.0



18
19
20
# File 'lib/lotus/action/throwable.rb', line 18

def self.included(base)
  base.extend ClassMethods
end