import { IErrorHandler } from '../../../interfaces'; export declare const APP_ERROR: string; export declare const OPERATIONAL_PREFIX: string; export declare const FATAL_PREFIX: string; export declare const DEFAULT_ERROR_MESSAGE = "unknown error"; /** * Centralized unique error type */ export declare class AppError extends Error { readonly type: string; readonly details: any; /** * @param message string optional * @param details any details */ constructor(message?: string, ...details: any[]); } /** * shortcuts functions to make easy dealing with errors */ export declare const defaultError: IErrorHandler;