Package org.ldk.structs
Class GraphSyncError
- java.lang.Object
-
- org.ldk.structs.GraphSyncError
-
- Direct Known Subclasses:
GraphSyncError.DecodeError
,GraphSyncError.LightningError
public class GraphSyncError extends Object
All-encompassing standard error type that processing can return
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GraphSyncError.DecodeError
Error trying to read the update data, typically due to an erroneous data length indication that is greater than the actual amount of data providedstatic class
GraphSyncError.LightningError
Error applying the patch to the network graph, usually the result of updates that are too old or missing prerequisite data to the application of updates out of order
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GraphSyncError
clone()
Creates a copy of the GraphSyncErrorstatic GraphSyncError
decode_error(DecodeError a)
Utility method to constructs a new DecodeError-variant GraphSyncErrorprotected void
finalize()
static GraphSyncError
lightning_error(LightningError a)
Utility method to constructs a new LightningError-variant GraphSyncError
-
-
-
Method Detail
-
finalize
protected void finalize() throws Throwable
-
clone
public GraphSyncError clone()
Creates a copy of the GraphSyncError
-
decode_error
public static GraphSyncError decode_error(DecodeError a)
Utility method to constructs a new DecodeError-variant GraphSyncError
-
lightning_error
public static GraphSyncError lightning_error(LightningError a)
Utility method to constructs a new LightningError-variant GraphSyncError
-
-