Exception: ApipieBindings::AuthenticatorError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/apipie_bindings/exceptions.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(type, cause, original_error) ⇒ AuthenticatorError

Returns a new instance of AuthenticatorError.



39
40
41
42
43
# File 'lib/apipie_bindings/exceptions.rb', line 39

def initialize(type, cause, original_error)
  @type = type
  @cause = cause
  @original_error = original_error
end

Instance Attribute Details

#causeObject (readonly)

Returns the value of attribute cause.



37
38
39
# File 'lib/apipie_bindings/exceptions.rb', line 37

def cause
  @cause
end

#original_errorObject (readonly)

Returns the value of attribute original_error.



37
38
39
# File 'lib/apipie_bindings/exceptions.rb', line 37

def original_error
  @original_error
end

#typeObject (readonly)

Returns the value of attribute type.



37
38
39
# File 'lib/apipie_bindings/exceptions.rb', line 37

def type
  @type
end