rittenhop-ghost/versions/5.94.2/node_modules/mailgun.js/Classes/common/Error.d.ts

10 lines
367 B
TypeScript

import { APIErrorOptions, APIErrorType } from '../../Types/Common';
export default class APIError extends Error implements APIErrorType {
status: number;
stack: string;
details: string;
type: string;
static getUserDataError(statusText: string, message: string): APIError;
constructor({ status, statusText, message, body }: APIErrorOptions);
}