Exception: Braintrust::HTTP::RequestError
- Defined in:
- lib/braintrust/base_client.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#request ⇒ Object
readonly
Returns the value of attribute request.
Instance Method Summary collapse
-
#initialize(message:, request:) ⇒ RequestError
constructor
A new instance of RequestError.
Constructor Details
#initialize(message:, request:) ⇒ RequestError
Returns a new instance of RequestError.
344 345 346 347 |
# File 'lib/braintrust/base_client.rb', line 344 def initialize(message:, request:) super() @request = request end |
Instance Attribute Details
#request ⇒ Object (readonly)
Returns the value of attribute request.
342 343 344 |
# File 'lib/braintrust/base_client.rb', line 342 def request @request end |