diff options
Diffstat (limited to 'workers/error.go')
-rw-r--r-- | workers/error.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/workers/error.go b/workers/error.go index 6cf60bd..455ab1c 100644 --- a/workers/error.go +++ b/workers/error.go @@ -44,4 +44,10 @@ var ( // ErrNoMatchingWorker is returned when there is no worker matching groups nor // capabilities required by request. ErrNoMatchingWorker = errors.New("No matching worker") + // ErrMissingIP is returned when Register is called with either dryad or sshd + // address missing IP value. + ErrMissingIP = errors.New("IP address is missing from address") + // ErrMissingPort is returned when Register is called with either dryad or sshd + // address missing Port value. + ErrMissingPort = errors.New("Port is missing from address") ) |