UNPKG

@stuntman/client

Version:

Stuntman - HTTP proxy / mock API client

19 lines 525 B
import { AppError } from '@stuntman/shared'; import type * as Stuntman from '@stuntman/shared'; export declare enum HttpCode { OK = 200, NO_CONTENT = 204, BAD_REQUEST = 400, UNAUTHORIZED = 401, NOT_FOUND = 404, CONFLICT = 409, UNPROCESSABLE_ENTITY = 422, INTERNAL_SERVER_ERROR = 500 } export declare class ClientError extends AppError { readonly originalStack?: string; constructor(args: Stuntman.AppError & { stack?: string; }); } //# sourceMappingURL=clientError.d.ts.map