-
Notifications
You must be signed in to change notification settings - Fork 67
Expand file tree
/
Copy patherror_types.go
More file actions
18 lines (17 loc) · 764 Bytes
/
error_types.go
File metadata and controls
18 lines (17 loc) · 764 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package plex
// ErrorInvalidToken a constant to help check invalid token errors
const (
ErrorInvalidToken = "invalid token"
ErrorNotAuthorized = "you are not authorized to access that server"
ErrorCommon = "error: %s"
ErrorKeyIsRequired = "key is required"
ErrorTitleRequired = "a title is required"
ErrorServerReplied = "server replied with %d status code"
ErrorMissingSessionKey = "missing sessionKey"
ErrorUrlTokenRequired = "url or a token is required"
ErrorServer = "server error: %s"
ErrorPINNotAuthorized = "pin is not authorized yet"
ErrorLinkAccount = "failed to link account: %s"
ErrorFailedToSetWebhook = "failed to set webhook"
ErrorWebhook = "webhook error: %s"
)