Exception: OmniAuth::Strategies::WorkOS::Error

Inherits:
StandardError
  • Object
show all
Defined in:
lib/omniauth/strategies/workos.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(code:, message:) ⇒ Error

Returns a new instance of Error.



10
11
12
13
# File 'lib/omniauth/strategies/workos.rb', line 10

def initialize(code:, message:)
  @code = code
  super(message)
end

Instance Attribute Details

#codeObject (readonly)

Returns the value of attribute code.



8
9
10
# File 'lib/omniauth/strategies/workos.rb', line 8

def code
  @code
end