Sha256: 4eaea253e49632f98dc9a98294e58fab5003c917938ae6ce778baf052a551f3d
Contents?: true
Size: 543 Bytes
Versions: 4
Compression:
Stored size: 543 Bytes
Contents
module Pubnub module Error class PresenceError < RuntimeError; end class PublishError < RuntimeError; end class SubscribeError < RuntimeError; end class InitError < RuntimeError; end class PublishError < RuntimeError; end class OperationError < RuntimeError def operation_exception #if @operation.present? # ("Pubnub::" + @operation.to_s.capitalize + "Error").constantize #else PubnubRequest::RequestError #end end end end end
Version data entries
4 entries across 4 versions & 2 rubygems
Version | Path |
---|---|
pubnub-ruby-3.4.1 | lib/pubnub/error.rb |
pubnub-3.4.1 | lib/pubnub/error.rb |
pubnub-ruby-3.4 | lib/pubnub/error.rb |
pubnub-3.4 | lib/pubnub/error.rb |