Pigeon v1.3.2 Pigeon.APNS.Error View Source
Defines APNS error responses
Link to this section Summary
Functions
If enabled, logs a notification and its error response
Link to this section Types
Link to this type
error_response()
View Source
error_response()
View Source
error_response() ::
:bad_collapse_id
| :bad_device_token
| :bad_expiration_date
| :bad_message_id
| :bad_priority
| :bad_topic
| :device_token_not_for_topic
| :duplicate_headers
| :idle_timeout
| :missing_device_token
| :missing_topic
| :payload_empty
| :topic_disallowed
| :bad_certificate
| :bad_certificate_environment
| :expired_provider_token
| :forbidden
| :invalid_provider_token
| :missing_provider_token
| :bad_path
| :method_not_allowed
| :unregistered
| :payload_too_large
| :too_many_provider_token_updates
| :too_many_requests
| :internal_server_error
| :service_unavailable
| :shutdown
| :unknown_error
error_response() :: :bad_collapse_id | :bad_device_token | :bad_expiration_date | :bad_message_id | :bad_priority | :bad_topic | :device_token_not_for_topic | :duplicate_headers | :idle_timeout | :missing_device_token | :missing_topic | :payload_empty | :topic_disallowed | :bad_certificate | :bad_certificate_environment | :expired_provider_token | :forbidden | :invalid_provider_token | :missing_provider_token | :bad_path | :method_not_allowed | :unregistered | :payload_too_large | :too_many_provider_token_updates | :too_many_requests | :internal_server_error | :service_unavailable | :shutdown | :unknown_error
Link to this section Functions
Link to this function
log(reason, notification)
View Source
log(reason, notification)
View Source
log(error_response(), Pigeon.APNS.Notification.t()) :: :ok
log(error_response(), Pigeon.APNS.Notification.t()) :: :ok
If enabled, logs a notification and its error response.