IdentityAPIErrorResponse class

A class that returns when an identity request fails for some reason.

This is passed to the handler for both client and server errors.

Constructors

IdentityAPIErrorResponse({required List<Error> errors, int? httpCode, String? mpid, IdentityClientErrorCodes? clientErrorCode})

Properties

clientErrorCode IdentityClientErrorCodes?
Client side error codes. If this exists, the Identity Request never was sent to the server.
getter/setter pair
errors List<Error>
Errors that are returned. This can be client side, or server side.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
httpCode int?
The http response code for errors returned by the server.
getter/setter pair
mpid String?
The MPID of the user.
getter/setter pair
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