Package org.ldk.enums

Enum SemanticError

    • Enum Constant Detail

      • LDKSemanticError_NoPaymentHash

        public static final SemanticError LDKSemanticError_NoPaymentHash
      • LDKSemanticError_MultiplePaymentHashes

        public static final SemanticError LDKSemanticError_MultiplePaymentHashes
      • LDKSemanticError_NoDescription

        public static final SemanticError LDKSemanticError_NoDescription
      • LDKSemanticError_MultipleDescriptions

        public static final SemanticError LDKSemanticError_MultipleDescriptions
      • LDKSemanticError_NoPaymentSecret

        public static final SemanticError LDKSemanticError_NoPaymentSecret
      • LDKSemanticError_MultiplePaymentSecrets

        public static final SemanticError LDKSemanticError_MultiplePaymentSecrets
      • LDKSemanticError_InvalidFeatures

        public static final SemanticError LDKSemanticError_InvalidFeatures
      • LDKSemanticError_InvalidRecoveryId

        public static final SemanticError LDKSemanticError_InvalidRecoveryId
      • LDKSemanticError_InvalidSignature

        public static final SemanticError LDKSemanticError_InvalidSignature
      • LDKSemanticError_ImpreciseAmount

        public static final SemanticError LDKSemanticError_ImpreciseAmount
    • Method Detail

      • values

        public static SemanticError[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (SemanticError c : SemanticError.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static SemanticError valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null