import { IUnderlyingError } from "../types"; import { Model } from "../models/Model"; /** * Base **Error** for **FireModel**. Takes _message_ and _type/subtype_ as * parameters. The code will be the `subtype`; the name is both. */ export declare class FireModelError extends Error { firemodel: boolean; code: string; /** * In cases where more than one error has occurred you can add the underlying * errors to this array of errors. Optionally you may also wrap the errors into */ errors?: IUnderlyingError[]; constructor(message: string, classification?: string, underlyingErrors?: IUnderlyingError[]); }