Skip to main content

@authgear/capacitor / ErrorName

Enumeration: ErrorName

ErrorName contains all possible name in ServerError

Table of contents

Enumeration Members

Enumeration Members

AlreadyExists

AlreadyExists = "AlreadyExists"

Indicates that the resource is already exists on the server. Status code: 409

Defined in

packages/authgear-capacitor/index.d.ts:93


BadRequest

BadRequest = "BadRequest"

Indicates that the server does not understand the request (i.e. syntactic error). Status code: 400

Defined in

packages/authgear-capacitor/index.d.ts:68


Forbidden

Forbidden = "Forbidden"

Indicates that the client's credentials are not allowed for the request (i.e. authorization error). Status code: 403

Defined in

packages/authgear-capacitor/index.d.ts:83


InternalError

InternalError = "InternalError"

Indicates that the server encountered an unexpected condition and unable to process the request. Status code: 500

Defined in

packages/authgear-capacitor/index.d.ts:103


Invalid

Invalid = "Invalid"

Indicates that the server understands the request, but refuse to process it (i.e. semantic error). Status code: 400

Defined in

packages/authgear-capacitor/index.d.ts:73


NotFound

NotFound = "NotFound"

Indicates that the server cannot find the requested resource. Status code: 404

Defined in

packages/authgear-capacitor/index.d.ts:88


ServiceUnavailable

ServiceUnavailable = "ServiceUnavailable"

Indicates that the server is not ready to handle the request. Status code: 503

Defined in

packages/authgear-capacitor/index.d.ts:108


TooManyRequest

TooManyRequest = "TooManyRequest"

Indicates that the client has sent too many requests in a given amount of time. Status code: 429

Defined in

packages/authgear-capacitor/index.d.ts:98


Unauthorized

Unauthorized = "Unauthorized"

Indicates that the client does not have valid credentials (i.e. authentication error). Status code: 401

Defined in

packages/authgear-capacitor/index.d.ts:78