UNPKG

@intuitionrobotics/thunderstorm

Version:
12 lines 593 B
import { CustomException } from "@intuitionrobotics/ts-common"; import { type ErrorBody, type ErrorResponse } from "../index.js"; export declare class ApiException<E extends object | void = void> extends CustomException { readonly responseBody: ErrorResponse<E>; readonly responseCode: number; private dispatchError; readonly setErrorBody: (errorBody: ErrorBody<E>) => this; setDispatchError(dispatchError: boolean): this; getDispatchError(): boolean; constructor(responseCode: number, debugMessage?: string, cause?: any); } //# sourceMappingURL=exceptions.d.ts.map