Exception: AgentHarness::AuthenticationError

Inherits:
Error
  • Object
show all
Defined in:
lib/agent_harness/errors.rb

Overview

Authentication errors

Instance Attribute Summary collapse

Attributes inherited from Error

#context, #original_error

Instance Method Summary collapse

Constructor Details

#initialize(message = nil, provider: nil, **kwargs) ⇒ AuthenticationError

Returns a new instance of AuthenticationError.



51
52
53
54
# File 'lib/agent_harness/errors.rb', line 51

def initialize(message = nil, provider: nil, **kwargs)
  @provider = provider
  super(message, **kwargs)
end

Instance Attribute Details

#providerObject (readonly)

Returns the value of attribute provider.



49
50
51
# File 'lib/agent_harness/errors.rb', line 49

def provider
  @provider
end