Sha256: 277740c843b4c75005019462fdad819ee4a948cb78818a356eab400a2ce56696
Contents?: true
Size: 417 Bytes
Versions: 2
Compression:
Stored size: 417 Bytes
Contents
module Rpush class DeliveryError < StandardError attr_reader :code, :description def initialize(code, notification_id, description) @code = code @notification_id = notification_id @description = description end def to_s message end def message "Unable to deliver notification #{@notification_id}, received error #{@code} (#{@description})" end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rpush-1.0.0-java | lib/rpush/daemon/delivery_error.rb |
rpush-1.0.0 | lib/rpush/daemon/delivery_error.rb |