UNPKG

@tencent-sdk/common

Version:
17 lines 451 B
interface ApiErrorOptions { message: string; stack?: string; type: string; reqId?: string | number; code?: string; displayMsg?: string; } export declare class CommonError extends Error { type: string; reqId?: string | number; code?: string; displayMsg: string; constructor({ type, message, stack, reqId, displayMsg, code, }: ApiErrorOptions); } export {}; //# sourceMappingURL=error.d.ts.map