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.



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

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

Instance Attribute Details

#providerObject (readonly)

Returns the value of attribute provider.



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

def provider
  @provider
end