Skip to content

Commit

Permalink
errors: add ErrGetUtxoCancelled error
Browse files Browse the repository at this point in the history
  • Loading branch information
cfromknecht committed Aug 21, 2018
1 parent 0d0ce90 commit 8780d4f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ package neutrino
import "errors"

var (
// ErrGetUtxoCancelled signals that a GetUtxo request was cancelled.
ErrGetUtxoCancelled = errors.New("get utxo request cancelled")

// ErrShuttingDown signals that neutrino received a shutdown request.
ErrShuttingDown = errors.New("neutrino shutting down")
)

0 comments on commit 8780d4f

Please sign in to comment.