Exception: Pusher::Error

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/pusher.rb

Overview

All errors descend from this class so they can be easily rescued

Examples:

begin
  Pusher.trigger('channel_name', 'event_name, {:some => 'data'})
rescue Pusher::Error => e
  # Do something on error
end