Codebase list golang-github-nlopes-slack / 33fb859d-7349-4038-abd4-9c43e3922006/upstream/0.6.0 slacktest / errors.go
33fb859d-7349-4038-abd4-9c43e3922006/upstream/0.6.0

Tree @33fb859d-7349-4038-abd4-9c43e3922006/upstream/0.6.0 (Download .tar.gz)

errors.go @33fb859d-7349-4038-abd4-9c43e3922006/upstream/0.6.0raw · history · blame

package slacktest

import (
	"github.com/nlopes/slack/internal/errorsx"
)

const (
	// ErrEmptyServerToHub is the error when attempting an empty server address to the hub
	ErrEmptyServerToHub = errorsx.String("Unable to add an empty server address to hub")
	// ErrPassedEmptyServerAddr is the error when being passed an empty server address
	ErrPassedEmptyServerAddr = errorsx.String("Passed an empty server address")
	// ErrNoQueuesRegisteredForServer is the error when there are no queues for a server in the hub
	ErrNoQueuesRegisteredForServer = errorsx.String("No queues registered for server")
)