interface ApiError { ErrorCode: string; Message: string; Data: any; } interface AuthError { error: string; error_description: string; } export default class OrderCloudError extends Error { isOrderCloudError: true; request?: any; response: any; errors?: ApiError[] | AuthError; status: number; errorCode: string; statusText: string; constructor(ex: any); } export {};