Exception: C2dm::Errors::MessageTooBig

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

Overview

The payload of the message is too big, the limit is currently 1024 bytes. Reduce the size of the message.

Instance Method Summary collapse

Constructor Details

#initialize(message) ⇒ MessageTooBig

:nodoc:



10
11
12
# File 'lib/c2dm_on_rails/c2dm_on_rails.rb', line 10

def initialize(message) # :nodoc:
  super("The maximum size allowed for a notification payload is 1024 bytes: '#{message}'")
end