shyft
Version:
Model driven GraphQL API framework
14 lines (13 loc) • 383 B
TypeScript
declare type ErrorInterface = Error;
declare class Error implements ErrorInterface {
name: string;
message: string;
static captureStackTrace(object: any, objectConstructor?: any): any;
}
export declare class CustomError extends Error {
code: any;
status?: any;
meta?: any;
constructor(message?: string, code?: any, status?: any, meta?: any);
}
export {};