Exception: Anthropic::Errors::APITimeoutError
- Inherits:
-
APIConnectionError
- Object
- StandardError
- Error
- APIError
- APIConnectionError
- Anthropic::Errors::APITimeoutError
- Defined in:
- lib/anthropic/errors.rb
Instance Attribute Summary
Attributes inherited from APIConnectionError
Attributes inherited from APIError
#body, #headers, #status, #url
Instance Method Summary collapse
-
#initialize(url:, status: nil, headers: nil, body: nil, request: nil, response: nil, message: "Request timed out.") ⇒ APITimeoutError
constructor
private
A new instance of APITimeoutError.
Constructor Details
#initialize(url:, status: nil, headers: nil, body: nil, request: nil, response: nil, message: "Request timed out.") ⇒ APITimeoutError
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of APITimeoutError.
110 111 112 113 114 115 116 117 118 119 120 |
# File 'lib/anthropic/errors.rb', line 110 def initialize( url:, status: nil, headers: nil, body: nil, request: nil, response: nil, message: "Request timed out." ) super end |