UNPKG

mindee

Version:

Mindee Client Library for Node.js

11 lines (10 loc) 331 B
/** * Custom Error handling class. * @deprecated Clashes with current implementation of some errors, which may cause unexpected behaviors. */ export declare class ErrorHandler { throwOnError: boolean; constructor(throwOnError?: boolean); throw(error: Error): void; } export declare const errorHandler: ErrorHandler;