Verified Commit a4083f8f authored by Richard Weinhold's avatar Richard Weinhold 🔨
Browse files

flags APNS "Unregistered" error as invalid device token

parent cf0adde3
......@@ -4,6 +4,6 @@ namespace ricwein\PushNotification\Exceptions;
use Exception;
class PushException extends Exception
abstract class PushException extends Exception
{
}
......@@ -126,6 +126,7 @@ class ResponseReasonException extends ResponseException
self::REASON_BAD_DEVICE_TOKEN,
self::REASON_DEVICE_TOKEN_NOT_FOR_TOPIC,
self::REASON_NOT_REGISTERED,
self::REASON_UNREGISTERED,
self::REASON_INVALID_REGISTRATION,
], true);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment