File: zulip_errors.go

package info (click to toggle)
golang-github-nicholas-fedor-shoutrrr 0.12.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,680 kB
  • sloc: sh: 74; makefile: 58
file content (15 lines) | stat: -rw-r--r-- 529 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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"
)