Exception: APND::Errors::InvalidNotificationHeader

Inherits:
StandardError
  • Object
show all
Defined in:
lib/apnd/errors.rb

Overview

Raised when parsing a Notification with an invalid header

Instance Method Summary collapse

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