import type { BaseErrorOptions } from './base.error'; import { BaseError } from './base.error'; export type UnexpectedErrorOptions = Omit & { level?: 'error' | 'fatal'; }; /** * Error that indicates something is wrong in the code: logic mistakes, * unhandled cases, assertions that fail. These are not recoverable and * should be brought to developers' attention. * * Default level: error */ export declare class UnexpectedError extends BaseError { constructor(message: string, opts?: UnexpectedErrorOptions); } //# sourceMappingURL=unexpected.error.d.ts.map