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 class
APIError.APIMisuseError
static class
APIError.ChannelUnavailable
static class
APIError.FeeRateTooHigh
static class
APIError.IncompatibleShutdownScript
static class
APIError.MonitorUpdateFailed
static class
APIError.RouteError
Fields in org.ldk.structs declared as APIError Modifier and Type Field Description APIError[]
PaymentSendFailure.AllFailedRetrySafe. all_failed_retry_safe
APIError
Result_NoneAPIErrorZ.Result_NoneAPIErrorZ_Err. err
APIError
Result_PaymentSecretAPIErrorZ.Result_PaymentSecretAPIErrorZ_Err. err
APIError
PaymentSendFailure.ParameterError. parameter_error
Methods in org.ldk.structs that return APIError Modifier and Type Method Description static APIError
APIError. apimisuse_error(String err)
Utility method to constructs a new APIMisuseError-variant APIErrorstatic APIError
APIError. channel_unavailable(String err)
Utility method to constructs a new ChannelUnavailable-variant APIErrorAPIError
APIError. clone()
Creates a copy of the APIErrorstatic APIError
APIError. fee_rate_too_high(String err, int feerate)
Utility method to constructs a new FeeRateTooHigh-variant APIErrorstatic APIError
APIError. incompatible_shutdown_script(ShutdownScript script)
Utility method to constructs a new IncompatibleShutdownScript-variant APIErrorstatic APIError
APIError. monitor_update_failed()
Utility method to constructs a new MonitorUpdateFailed-variant APIErrorstatic APIError
APIError. 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 PaymentSendFailure
PaymentSendFailure. all_failed_retry_safe(APIError[] a)
Utility method to constructs a new AllFailedRetrySafe-variant PaymentSendFailurestatic Result_NoneAPIErrorZ
Result_NoneAPIErrorZ. err(APIError e)
Creates a new CResult_NoneAPIErrorZ in the error state.static Result_PaymentSecretAPIErrorZ
Result_PaymentSecretAPIErrorZ. err(APIError e)
Creates a new CResult_PaymentSecretAPIErrorZ in the error state.static PaymentSendFailure
PaymentSendFailure. parameter_error(APIError a)
Utility method to constructs a new ParameterError-variant PaymentSendFailure
-