@commercetools/sdk-client-v2
Version:
commercetools Composable Commerce TypeScript SDK client.
11 lines • 831 B
TypeScript
export declare function NetworkError(this: any, ...args: Array<unknown>): void;
export declare function HttpError(...args: Array<unknown>): void;
export declare function BadRequest(this: any, ...args: Array<unknown>): void;
export declare function Unauthorized(this: any, ...args: Array<unknown>): void;
export declare function Forbidden(this: any, ...args: Array<unknown>): void;
export declare function NotFound(this: any, ...args: Array<unknown>): void;
export declare function ConcurrentModification(this: any, ...args: Array<unknown>): void;
export declare function InternalServerError(this: any, ...args: Array<unknown>): void;
export declare function ServiceUnavailable(this: any, ...args: Array<unknown>): void;
export default function getErrorByCode(code: number): typeof NetworkError;
//# sourceMappingURL=errors.d.ts.map