import { LedgerCustom, LedgerError, LedgerErrorReason } from '../common'; /** * Error thrown when the record received doesn’t match the expected record schema. * Also used when request path or query params doesn’t match expected request schema. */ export declare class RecordSchemaInvalid 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; }