Files
2024-06-03 20:23:50 +05:30

7 lines
275 B
TypeScript

export type ServerError = Error & {
response: Response;
result: Record<string, any> | string;
statusCode: number;
};
export declare const throwServerError: (response: Response, result: any, message: string) => never;
//# sourceMappingURL=throwServerError.d.ts.map