Exception: Arrthorizer::ArrthorizerException

Inherits:
StandardError
  • Object
show all
Defined in:
lib/arrthorizer/arrthorizer_exception.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message = "Exception occurred", inner = $!) ⇒ ArrthorizerException

Returns a new instance of ArrthorizerException.



5
6
7
8
9
# File 'lib/arrthorizer/arrthorizer_exception.rb', line 5

def initialize(message = "Exception occurred", inner = $!)
  super(message)

  @inner = inner
end

Instance Attribute Details

#innerObject (readonly)

Returns the value of attribute inner.



3
4
5
# File 'lib/arrthorizer/arrthorizer_exception.rb', line 3

def inner
  @inner
end