ClientException class

An exception caused by an error in the PocketBase client.

Implemented types

Constructors

ClientException({Uri? url, bool isAbort = false, int statusCode = 0, Map<String, dynamic> response = const {}, dynamic originalError})

Properties

hashCode → int
The hash code for this object.
no setterinherited
isAbort → bool
Indicates whether the error is a result from request cancellation/abort.
final
originalError → dynamic
The original response error (could be anything - String, Exception, etc.).
final
response → Map<String, dynamic>
Contains the JSON API error response.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
statusCode → int
The status code of the failed request.
final
url → Uri?
The Uri of the failed request.
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