UNPKG

@shapediver/sdk.geometry-api-sdk-v2

Version:
22 lines 762 B
import { ResErrorType } from './client'; export declare class SdGeometryError extends Error { constructor(message?: string); } export declare class RequestError extends SdGeometryError { constructor(message: string); } export declare class ResponseError extends SdGeometryError { readonly status: number; readonly type: ResErrorType; readonly description: string; constructor(status: number, message: string, desc: string, type?: string); } export declare class IllegalArgumentError extends SdGeometryError { field: string; constructor(field: string, msg?: string); } export declare class TimeoutError extends SdGeometryError { field: string; constructor(field: string, msg?: string); } //# sourceMappingURL=error.d.ts.map