import { EErrorsCodes } from './EErrorsCodes';
export declare class __Error implements Error {
    stack: string;
    protected _message: string;
    /**
     * can also contains error like certificates error (https://nodejs.org/api/tls.html#tls_x509_certificate_error_codes) or other errors . Can be a string, or a number
     */
    errorCode: EErrorsCodes;
    /**
     * can also contains error like certificates error (https://nodejs.org/api/tls.html#tls_x509_certificate_error_codes) or other errors . Can be a string, or a number
     */
    code: EErrorsCodes;
    exception: Error;
    message: string;
    constructor(message?: string | Error, code?: EErrorsCodes, exception?: Error | string | null);
    toString: () => string;
    name: string;
}
