import { LedgerCustom, LedgerError, LedgerErrorReason } from '../common'; /** * Generic error thrown by the (banking) core system. If the error is received from the core system * which can’t be classified as any of existing bridge errors. Recommended in related signature to set * the failId to type identifier of internal core error (error code or class name or similar). */ export declare class BridgeUnexpectedCoreError extends LedgerError { /** * * @param detail error detail - message * @param custom custom data record to attach * additional info about the error */ constructor(detail: string, custom?: LedgerCustom); static REASON: LedgerErrorReason; }