OpenAIUnexpectedException class
This exception is thrown when an unexpected non-error response is got, this means that the response from the request does not have an error sign (the error field), but it is not no the success response as well.
- Implemented types
Constructors
- OpenAIUnexpectedException.new(String message, [String? rawResponseBody])
- This exception is thrown when an unexpected non-error response is got, this means that the response from the request does not have an error sign (the error field), but it is not no the success response as well.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
The message to be displayed when the exception is thrown.
final
- rawResponseBody → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited