Skip to content

ChatApiErrorBody

Defined in: libs/ccs-chat-client/src/errors.ts:6

The JSON error body the Chat API returns (apps/backend/src/common/filters/all-exceptions.filter.ts): { status_code, error, message, path, timestamp }, where error is a stable snake_case code (e.g. invalid_token, missing_capability, target_user_not_eligible).

optional status_code?: number

Defined in: libs/ccs-chat-client/src/errors.ts:7


optional error?: string

Defined in: libs/ccs-chat-client/src/errors.ts:8


optional message?: string | string[]

Defined in: libs/ccs-chat-client/src/errors.ts:9


optional path?: string

Defined in: libs/ccs-chat-client/src/errors.ts:10


optional timestamp?: string

Defined in: libs/ccs-chat-client/src/errors.ts:11