routing+discovery: uniform error codes in routing

This commit is contained in:
yyforyongyu committed 2022-01-05 04:27:33 +08:00
1 parent c15c8a1f0b
commit dd74486b59
5 files changed
+45 -32

No files matched your search

+9
View File
@@ -28,6 +28,15 @@ const (
// ErrInvalidFundingOutput is returned if the channle funding output
// fails validation.
ErrInvalidFundingOutput
// ErrVBarrierShuttingDown signals that the barrier has been requested
// to shutdown, and that the caller should not treat the wait condition
// as fulfilled.
ErrVBarrierShuttingDown
// ErrParentValidationFailed signals that the validation of a
// dependent's parent failed, so the dependent must not be processed.
ErrParentValidationFailed
)
// routerError is a structure that represent the error inside the routing package,