github.com/decred/dcrlnd@v0.7.6/watchtower/errors.go (about)

     1  package watchtower
     2  
     3  import "errors"
     4  
     5  var (
     6  	// ErrNoListeners signals that no listening ports were provided,
     7  	// rendering the tower unable to receive client requests.
     8  	ErrNoListeners = errors.New("no listening ports were specified")
     9  
    10  	// ErrNoNetwork signals that no tor.Net is provided in the Config, which
    11  	// prevents resolution of listening addresses.
    12  	ErrNoNetwork = errors.New("no network specified, must be tor or clearnet")
    13  )