import { LedgerCustom, LedgerError, LedgerErrorReason } from '../common/index'; /** * Error thrown when user try to append a label not supported * by policies. */ export declare class RecordLabelsPolicyViolation 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; }