Debian Codegraph @

pkg/services/push/pushover/pushover_error.go

raw symbols SCIP
1 package pushover
2
3 import "errors"
4
5 var (
6 // ErrSendFailed indicates a failure in sending the notification to a Pushover device.
7 ErrSendFailed = errors.New("failed to send notification to pushover device")
8
9 // ErrUserMissing indicates the user key is missing from the Pushover config URL.
10 ErrUserMissing = errors.New("user missing from config URL")
11
12 // ErrTokenMissing indicates the API token is missing from the Pushover config URL.
13 ErrTokenMissing = errors.New("token missing from config URL")
14
15 // ErrInvalidEncryptionKey indicates the E2EE key is not a 64-character hex string.
16 ErrInvalidEncryptionKey = errors.New("invalid encryption key")
17
18 // ErrEncryptionFailed indicates a failure while encrypting a Pushover field.
19 ErrEncryptionFailed = errors.New("encryption failed")
20 )