@tencent-sdk/common
Version:
Tencent cloud common sdk
17 lines • 451 B
TypeScript
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