Skip to content

@gala-chain/apiAPI


API > ErrorCode

Enumeration: ErrorCode

Contents

Enumeration Members

CONFLICT

CONFLICT: 409

Source

chain-api/src/utils/error.ts:26


DEFAULT_ERROR

DEFAULT_ERROR: 500

Source

chain-api/src/utils/error.ts:28


FORBIDDEN

FORBIDDEN: 403

Source

chain-api/src/utils/error.ts:24


NOT_FOUND

NOT_FOUND: 404

Source

chain-api/src/utils/error.ts:25


NOT_IMPLEMENTED

NOT_IMPLEMENTED: 501

Source

chain-api/src/utils/error.ts:29


NO_LONGER_AVAILABLE

NO_LONGER_AVAILABLE: 410

Source

chain-api/src/utils/error.ts:27


PAYMENT_REQUIRED

PAYMENT_REQUIRED: 402

Source

chain-api/src/utils/error.ts:23


UNAUTHORIZED

UNAUTHORIZED: 401

Source

chain-api/src/utils/error.ts:22


VALIDATION_FAILED

VALIDATION_FAILED: 400

Source

chain-api/src/utils/error.ts:21