AlgoliaApiException class final

Exception thrown when the Algolia API returns an error.

Contains the HTTP status code and the error message returned by the API.

Implemented types

Constructors

AlgoliaApiException(int statusCode, dynamic error)
Constructs an AlgoliaApiException with the provided status code and error message.
const

Properties

error → dynamic
The error message returned by the API.
final
hashCode int
The hash code for this object.
no setterinherited
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