Exception: AgentHarness::AuthenticationError

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

Overview

Authentication errors

Direct Known Subclasses

AuthMismatchError

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.



57
58
59
60
# File 'lib/agent_harness/errors.rb', line 57

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

Instance Attribute Details

#providerObject (readonly)

Returns the value of attribute provider.



55
56
57
# File 'lib/agent_harness/errors.rb', line 55

def provider
  @provider
end