-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy patherror.go
32 lines (31 loc) · 1.45 KB
/
error.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
package apnsapi
const (
ErrBadCollapseId = "BadCollapseId"
ErrBadDeviceToken = "BadDeviceToken"
ErrBadExpirationDate = "BadExpirationDate"
ErrBadMessageId = "BadMessageId"
ErrBadPriority = "BadPriority"
ErrBadTopic = "BadTopic"
ErrDeviceTokenNotForTopic = "DeviceTokenNotForTopic"
ErrDuplicateHeaders = "DuplicateHeaders"
ErrIdleTimeout = "IdleTimeout"
ErrMissingDeviceToken = "MissingDeviceToken"
ErrMissingTopic = "MissingTopic"
ErrPayloadEmpty = "PayloadEmpty"
ErrTopicDisallowed = "TopicDisallowed"
ErrBadCertificate = "BadCertificate"
ErrBadCertificateEnvironment = "BadCertificateEnvironment"
ErrExpiredProviderToken = "ExpiredProviderToken"
ErrForbidden = "Forbidden"
ErrInvalidProviderToken = "InvalidProviderToken"
ErrMissingProviderToken = "MissingProviderToken"
ErrBadPath = "BadPath"
ErrMethodNotAllowed = "MethodNotAllowed"
ErrUnregistered = "Unregistered"
ErrPayloadTooLarge = "PayloadTooLarge"
ErrTooManyProviderTokenUpdates = "TooManyProviderTokenUpdates"
ErrTooManyRequests = "TooManyRequests"
ErrInternalServerError = "InternalServerError"
ErrServiceUnavailable = "ServiceUnavailable"
ErrShutdown = "Shutdown"
)