Exception: Anthropic::Credentials::WorkloadIdentityError

Inherits:
Errors::Error
  • Object
show all
Defined in:
sig/anthropic/credentials.rbs

Instance Attribute Summary collapse

Attributes inherited from Errors::Error

#cause

Instance Method Summary collapse

Constructor Details

#initializeObject



100
# File 'sig/anthropic/credentials.rbs', line 100

def initialize: (

Instance Attribute Details

#bodyHash[Symbol, untyped], ... (readonly)

Returns the value of attribute body.

Returns:

  • (Hash[Symbol, untyped], String, nil)


97
98
99
# File 'sig/anthropic/credentials.rbs', line 97

def body
  @body
end

#request_idString? (readonly)

Returns the value of attribute request_id.

Returns:

  • (String, nil)


98
99
100
# File 'sig/anthropic/credentials.rbs', line 98

def request_id
  @request_id
end

#status_codeInteger? (readonly)

Returns the value of attribute status_code.

Returns:

  • (Integer, nil)


96
97
98
# File 'sig/anthropic/credentials.rbs', line 96

def status_code
  @status_code
end

Instance Method Details

#to_sString

Returns:

  • (String)


107
# File 'sig/anthropic/credentials.rbs', line 107

def to_s: -> String