Exception: APND::Errors::InvalidNotificationHeader
- Inherits:
-
StandardError
- Object
- StandardError
- APND::Errors::InvalidNotificationHeader
- Defined in:
- lib/apnd/errors.rb
Overview
Raised when parsing a Notification with an invalid header
Instance Method Summary collapse
-
#initialize(header) ⇒ InvalidNotificationHeader
constructor
A new instance of InvalidNotificationHeader.
Constructor Details
#initialize(header) ⇒ InvalidNotificationHeader
Returns a new instance of InvalidNotificationHeader.
17 18 19 |
# File 'lib/apnd/errors.rb', line 17 def initialize(header) super("Invalid Notification header: #{header.inspect}") end |