Exception: Anthropic::Credentials::WorkloadIdentityError
- Inherits:
-
Errors::Error
- Object
- StandardError
- Errors::Error
- Anthropic::Credentials::WorkloadIdentityError
- Defined in:
- sig/anthropic/credentials.rbs
Instance Attribute Summary collapse
-
#body ⇒ Hash[Symbol, untyped], ...
readonly
Returns the value of attribute body.
-
#request_id ⇒ String?
readonly
Returns the value of attribute request_id.
-
#status_code ⇒ Integer?
readonly
Returns the value of attribute status_code.
Attributes inherited from Errors::Error
Instance Method Summary collapse
-
#initialize ⇒ WorkloadIdentityError
constructor
A new instance of WorkloadIdentityError.
- #to_s ⇒ String
Constructor Details
#initialize ⇒ WorkloadIdentityError
Returns a new instance of WorkloadIdentityError.
100 101 102 103 104 105 |
# File 'sig/anthropic/credentials.rbs', line 100
def initialize: (
String message,
?status_code: Integer?,
?body: (Hash[Symbol, untyped] | String)?,
?request_id: String?
) -> void
|
Instance Attribute Details
#body ⇒ Hash[Symbol, untyped], ... (readonly)
Returns the value of attribute body.
97 98 99 |
# File 'sig/anthropic/credentials.rbs', line 97 def body @body end |
#request_id ⇒ String? (readonly)
Returns the value of attribute request_id.
98 99 100 |
# File 'sig/anthropic/credentials.rbs', line 98 def request_id @request_id end |
#status_code ⇒ Integer? (readonly)
Returns the value of attribute status_code.
96 97 98 |
# File 'sig/anthropic/credentials.rbs', line 96 def status_code @status_code end |
Instance Method Details
#to_s ⇒ String
107 |
# File 'sig/anthropic/credentials.rbs', line 107
def to_s: -> String
|