Exception: LlmGateway::Errors::ClientError
- Defined in:
- lib/llm_gateway/errors.rb
Direct Known Subclasses
APIConnectionError, APIStatusError, APITimeoutError, AuthenticationError, BadRequestError, ConflictError, InternalServerError, MissingMapperForProvider, NotFoundError, OverloadError, PermissionDeniedError, RateLimitError, UnknownError, UnprocessableEntityError, UnsupportedModel, UnsupportedProvider
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
Instance Method Summary collapse
-
#initialize(message = nil, code = nil) ⇒ ClientError
constructor
A new instance of ClientError.
Constructor Details
#initialize(message = nil, code = nil) ⇒ ClientError
Returns a new instance of ClientError.
10 11 12 13 |
# File 'lib/llm_gateway/errors.rb', line 10 def initialize( = nil, code = nil) @code = code super() end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
8 9 10 |
# File 'lib/llm_gateway/errors.rb', line 8 def code @code end |