Adding upstream version 0.8.9.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
3b2c48b5e4
commit
c0c4addb85
285 changed files with 25880 additions and 0 deletions
15
pkg/services/zulip/zulip_errors.go
Normal file
15
pkg/services/zulip/zulip_errors.go
Normal file
|
@ -0,0 +1,15 @@
|
|||
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"
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue