mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-07-03 12:03:37 +02:00
server+lntest: extract ErrServerNotActive error
This commit is contained in:
@ -89,6 +89,11 @@ var (
|
||||
// given peer.
|
||||
ErrPeerNotConnected = errors.New("peer is not connected")
|
||||
|
||||
// ErrServerNotActive indicates that the server has started but hasn't
|
||||
// fully finished the startup process.
|
||||
ErrServerNotActive = errors.New("server is still in the process of " +
|
||||
"starting")
|
||||
|
||||
// ErrServerShuttingDown indicates that the server is in the process of
|
||||
// gracefully exiting.
|
||||
ErrServerShuttingDown = errors.New("server is shutting down")
|
||||
|
Reference in New Issue
Block a user