Exception: APN::Errors::ExceededMessageSizeError
- Inherits:
-
StandardError
- Object
- StandardError
- APN::Errors::ExceededMessageSizeError
- Defined in:
- lib/apn_on_rails/apn_on_rails.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:
42 43 44 |
# File 'lib/apn_on_rails/apn_on_rails.rb', line 42 def initialize() # :nodoc: super("The maximum size allowed for a notification payload is 256 bytes: '#{}'") end |