MCPcopy Index your code
hub / github.com/evolution-foundation/evolution-api / MetaErrorResponse

Interface MetaErrorResponse

src/utils/errorResponse.ts:3–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { HttpStatus } from '@api/routes/index.router';
2
3export interface MetaErrorResponse {
4 status: number;
5 error: string;
6 message: string;
7 details: {
8 whatsapp_error: string;
9 whatsapp_code: string | number;
10 error_user_title: string;
11 error_user_msg: string;
12 error_type: string;
13 error_subcode: number | null;
14 fbtrace_id: string | null;
15 context: string;
16 type: string;
17 };
18 timestamp: string;
19}
20
21/**
22 * Creates standardized error response for Meta/WhatsApp API errors

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected