FeatherJsErrorType enum

FeatherJsErrorType

Inheritance

Constructors

FeatherJsErrorType()
const

Values

IS_SERVER_ERROR → const FeatherJsErrorType

This error come from your feathers js server

IS_REST_ERROR → const FeatherJsErrorType

This error come from any FlutterFeathersjs.rest's method

IS_SOCKETIO_ERROR → const FeatherJsErrorType

This error come from any FlutterFeathersjs.scketio's method

IS_DESERIALIZATION_ERROR → const FeatherJsErrorType

Error when deserializing realtime object in socketio listen method

IS_UNKNOWN_ERROR → const FeatherJsErrorType

Unknown error

IS_JWT_TOKEN_ERROR → const FeatherJsErrorType

When in auth method, jwt cause a problem

IS_FORM_DATA_ERROR → const FeatherJsErrorType

Error while building form data in rest client

IS_JWT_TOKEN_NOT_FOUND_ERROR → const FeatherJsErrorType

Jwt not found in local storage

IS_JWT_INVALID_ERROR → const FeatherJsErrorType

Jwt is invalid

IS_JWT_EXPIRED_ERROR → const FeatherJsErrorType

Jwt expired

IS_INVALID_CREDENTIALS_ERROR → const FeatherJsErrorType

User credentials are wrong for authentication on the server

IS_INVALID_STRATEGY_ERROR → const FeatherJsErrorType

Wrong strategy is given to the auth method

IS_AUTH_FAILED_ERROR → const FeatherJsErrorType

Auth failed with unknown reason

IS_BAD_REQUEST_ERROR → const FeatherJsErrorType

See https://docs.feathersjs.com/api/errors.html#feathers-errors Bad request

IS_NOT_AUTHENTICATED_ERROR → const FeatherJsErrorType

Client not authenticated

IS_PAYMENT_ERROR → const FeatherJsErrorType

PaymentError

IS_FORBIDDEN_ERROR → const FeatherJsErrorType

Access denied

IS_NOT_FOUND_ERROR → const FeatherJsErrorType

Service not found

IS_METHOD_NOT_ALLOWED_ERROR → const FeatherJsErrorType

Method not allowed

IS_NOT_ACCEPTABLE_ERROR → const FeatherJsErrorType

The request is not acceptable

IS_TIMEOUT_ERROR → const FeatherJsErrorType

Request timeout

IS_CONFLICT_ERROR → const FeatherJsErrorType

Conflict on the server

IS_LENGTH_REQUIRED_ERROR → const FeatherJsErrorType

Lengh required

IS_UNPROCESSABLE_ERROR → const FeatherJsErrorType

Unprocessable

IS_TOO_MANY_REQUESTS_ERROR → const FeatherJsErrorType

Too Many requests at the same time

IS_GENERAL_ERROR → const FeatherJsErrorType

General error

IS_NOT_IMPLEMENTED_ERROR → const FeatherJsErrorType

The method is not implemented

IS_BAD_GATE_WAY_ERROR → const FeatherJsErrorType

Bad gateway

IS_UNAVAILABLE_ERROR → const FeatherJsErrorType

Server is unavailable

IS_CANNOT_SEND_REQUEST → const FeatherJsErrorType

Cannot sent the request

CONFIGURATION_ERROR → const FeatherJsErrorType

Standalone feathers js client configuration error

IS_DART_ERROR → const FeatherJsErrorType

Dart error

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
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.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<FeatherJsErrorType>
A constant List of the values in this enum, in order of their declaration.