Skip to main content

ErrorName

@authgear/capacitor


@authgear/capacitor / ErrorName

Enumeration: ErrorName

ErrorName contains all possible name in ServerError

Enumeration Members

AlreadyExists

AlreadyExists: "AlreadyExists"

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


BadRequest

BadRequest: "BadRequest"

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


Forbidden

Forbidden: "Forbidden"

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


InternalError

InternalError: "InternalError"

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


Invalid

Invalid: "Invalid"

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


NotFound

NotFound: "NotFound"

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


ServiceUnavailable

ServiceUnavailable: "ServiceUnavailable"

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


TooManyRequest

TooManyRequest: "TooManyRequest"

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


Unauthorized

Unauthorized: "Unauthorized"

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