Exception: OmniAuth::Auth0::TokenValidationError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/omniauth/auth0/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(msg) ⇒ TokenValidationError

Returns a new instance of TokenValidationError.



5
6
7
8
# File 'lib/omniauth/auth0/errors.rb', line 5

def initialize(msg)
  @error_reason = msg
  super(msg)
end

Instance Attribute Details

#error_reasonObject (readonly)

Returns the value of attribute error_reason.



4
5
6
# File 'lib/omniauth/auth0/errors.rb', line 4

def error_reason
  @error_reason
end