VanturaApiException class

Thrown when the Vantura API returns an error response.

Inheritance
Implementers

Constructors

VanturaApiException(String message, {int? statusCode, String? responseBody, Object? originalError})
Creates a VanturaApiException with status code and optional response body.

Properties

hashCode int
The hash code for this object.
no setterinherited
message String
A human-readable message describing the error.
finalinherited
originalError Object?
The original error that caused this exception, if any.
finalinherited
responseBody String?
The raw response body from the API.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
statusCode int?
The HTTP status code returned by the API.
final

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