Uses of Class
org.ldk.structs.APIError
-
Packages that use APIError Package Description org.ldk.structs -
-
Uses of APIError in org.ldk.structs
Subclasses of APIError in org.ldk.structs Modifier and Type Class Description static classAPIError.APIMisuseErrorIndicates the API was wholly misused (see err for more).static classAPIError.ChannelUnavailableWe were unable to complete the request as the Channel required to do so is unable to complete the request (or was not found).static classAPIError.FeeRateTooHighDue to a high feerate, we were unable to complete the request.static classAPIError.IncompatibleShutdownScript[`KeysInterface::get_shutdown_scriptpubkey`] returned a shutdown scriptpubkey incompatible with the channel counterparty as negotiated in [`InitFeatures`].static classAPIError.MonitorUpdateFailedAn attempt to call watch/update_channel returned an Err (ie you did this!), causing the attempted action to fail.static classAPIError.RouteErrorA malformed Route was provided (eg overflowed value, node id mismatch, overly-looped route, too-many-hops, etc).Fields in org.ldk.structs declared as APIError Modifier and Type Field Description APIError[]PaymentSendFailure.AllFailedRetrySafe. all_failed_retry_safeAPIErrorResult__u832APIErrorZ.Result__u832APIErrorZ_Err. errAPIErrorResult_C2Tuple_PaymentHashPaymentSecretZAPIErrorZ.Result_C2Tuple_PaymentHashPaymentSecretZAPIErrorZ_Err. errAPIErrorResult_NoneAPIErrorZ.Result_NoneAPIErrorZ_Err. errAPIErrorResult_PaymentPreimageAPIErrorZ.Result_PaymentPreimageAPIErrorZ_Err. errAPIErrorResult_PaymentSecretAPIErrorZ.Result_PaymentSecretAPIErrorZ_Err. errAPIErrorPaymentSendFailure.ParameterError. parameter_errorMethods in org.ldk.structs that return APIError Modifier and Type Method Description static APIErrorAPIError. apimisuse_error(String err)Utility method to constructs a new APIMisuseError-variant APIErrorstatic APIErrorAPIError. channel_unavailable(String err)Utility method to constructs a new ChannelUnavailable-variant APIErrorAPIErrorAPIError. clone()Creates a copy of the APIErrorstatic APIErrorAPIError. fee_rate_too_high(String err, int feerate)Utility method to constructs a new FeeRateTooHigh-variant APIErrorstatic APIErrorAPIError. incompatible_shutdown_script(ShutdownScript script)Utility method to constructs a new IncompatibleShutdownScript-variant APIErrorstatic APIErrorAPIError. monitor_update_failed()Utility method to constructs a new MonitorUpdateFailed-variant APIErrorstatic APIErrorAPIError. route_error(String err)Utility method to constructs a new RouteError-variant APIErrorMethods in org.ldk.structs with parameters of type APIError Modifier and Type Method Description static PaymentSendFailurePaymentSendFailure. all_failed_retry_safe(APIError[] a)Utility method to constructs a new AllFailedRetrySafe-variant PaymentSendFailurestatic Result__u832APIErrorZResult__u832APIErrorZ. err(APIError e)Creates a new CResult__u832APIErrorZ in the error state.static Result_C2Tuple_PaymentHashPaymentSecretZAPIErrorZResult_C2Tuple_PaymentHashPaymentSecretZAPIErrorZ. err(APIError e)Creates a new CResult_C2Tuple_PaymentHashPaymentSecretZAPIErrorZ in the error state.static Result_NoneAPIErrorZResult_NoneAPIErrorZ. err(APIError e)Creates a new CResult_NoneAPIErrorZ in the error state.static Result_PaymentPreimageAPIErrorZResult_PaymentPreimageAPIErrorZ. err(APIError e)Creates a new CResult_PaymentPreimageAPIErrorZ in the error state.static Result_PaymentSecretAPIErrorZResult_PaymentSecretAPIErrorZ. err(APIError e)Creates a new CResult_PaymentSecretAPIErrorZ in the error state.static PaymentSendFailurePaymentSendFailure. parameter_error(APIError a)Utility method to constructs a new ParameterError-variant PaymentSendFailure
-