Exception: RailsAiGateway::Proxy::Failure Private
- Inherits:
-
StandardError
- Object
- StandardError
- RailsAiGateway::Proxy::Failure
- Defined in:
- lib/rails_ai_gateway/proxy.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Attribute Summary collapse
- #status ⇒ Object readonly private
Instance Method Summary collapse
-
#initialize(message, status = 502) ⇒ Failure
constructor
private
A new instance of Failure.
Constructor Details
#initialize(message, status = 502) ⇒ Failure
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 Failure.
15 16 17 18 |
# File 'lib/rails_ai_gateway/proxy.rb', line 15 def initialize(, status = 502) @status = status super() end |
Instance Attribute Details
#status ⇒ Object (readonly)
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.
13 14 15 |
# File 'lib/rails_ai_gateway/proxy.rb', line 13 def status @status end |