ChatApiErrorBody
Defined in: libs/ccs-chat-user-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).
Properties
Section titled “Properties”status_code?
Section titled “status_code?”
optionalstatus_code?:number
Defined in: libs/ccs-chat-user-client/src/errors.ts:7
error?
Section titled “error?”
optionalerror?:string
Defined in: libs/ccs-chat-user-client/src/errors.ts:8
message?
Section titled “message?”
optionalmessage?:string|string[]
Defined in: libs/ccs-chat-user-client/src/errors.ts:9
optionalpath?:string
Defined in: libs/ccs-chat-user-client/src/errors.ts:10
timestamp?
Section titled “timestamp?”
optionaltimestamp?:string
Defined in: libs/ccs-chat-user-client/src/errors.ts:11