1
0
Fork 0
golang-github-nicholas-fedo.../pkg/services/zulip/zulip_errors.go
Daniel Baumann c0c4addb85
Adding upstream version 0.8.9.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-05-22 10:16:14 +02:00

15 lines
529 B
Go

package zulip
// ErrorMessage for error events within the zulip service.
type ErrorMessage string
const (
// MissingAPIKey from the service URL.
MissingAPIKey ErrorMessage = "missing API key"
// MissingHost from the service URL.
MissingHost ErrorMessage = "missing Zulip host"
// MissingBotMail from the service URL.
MissingBotMail ErrorMessage = "missing Bot mail address"
// TopicTooLong if topic is more than 60 characters.
TopicTooLong ErrorMessage = "topic exceeds max length (%d characters): was %d characters"
)