Exception: ApnErrorsHelper::ExceededMessageSizeError
- Inherits:
-
StandardError
- Object
- StandardError
- ApnErrorsHelper::ExceededMessageSizeError
- Defined in:
- lib/handy_apn/apn_errors_helper.rb
Overview
Raised when a notification message to Apple is longer than 256 bytes.
Instance Method Summary collapse
-
#initialize(message) ⇒ ExceededMessageSizeError
constructor
:nodoc:.
Constructor Details
#initialize(message) ⇒ ExceededMessageSizeError
:nodoc:
5 6 7 |
# File 'lib/handy_apn/apn_errors_helper.rb', line 5 def initialize() # :nodoc: super("The maximum size allowed for a notification payload is 256 bytes: '#{message}'") end |