Exception: Rack::Idempotency::Error

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/rack/idempotency/errors.rb

Overview

For all errors

Direct Known Subclasses

InsecureKeyError

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(env) ⇒ Error

Returns a new instance of Error.



6
7
8
# File 'lib/rack/idempotency/errors.rb', line 6

def initialize(env)
  @env = env
end

Instance Attribute Details

#envObject (readonly)

Returns the value of attribute env.



5
6
7
# File 'lib/rack/idempotency/errors.rb', line 5

def env
  @env
end