UNPKG

lightningdevkit

Version:
23 lines (22 loc) 807 B
import { CommonBase } from './CommonBase.mjs'; /** * Errors that indicate what is wrong with the invoice. They have some granularity for debug * reasons, but should generally result in an \"invalid BOLT11 invoice\" message for the user. */ export declare class Bolt11ParseError extends CommonBase { /** * Checks if two Bolt11ParseErrors contain equal inner contents. * This ignores pointers and is_owned flags and looks at the values in fields. * Two objects with NULL inner values will be considered "equal" here. */ eq(b: Bolt11ParseError): boolean; clone_ptr(): bigint; /** * Creates a copy of the Bolt11ParseError */ clone(): Bolt11ParseError; /** * Get the string representation of a Bolt11ParseError object */ to_str(): string; }