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.



67
68
69
70
# File 'lib/agent_harness/errors.rb', line 67

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

Instance Attribute Details

#providerObject (readonly)

Returns the value of attribute provider.



65
66
67
# File 'lib/agent_harness/errors.rb', line 65

def provider
  @provider
end