server+lntest: extract ErrServerNotActive error

This commit is contained in:
Wilmer Paulino committed 2019-10-23 17:37:15 -04:00
1 parent fd906475dd
commit 955d143c1b
3 files changed
+14 -15

No files matched your search

+5
View File
@@ -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")