Exception: Pubnub::Error::OperationError

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

Instance Method Summary collapse

Instance Method Details

#operation_exceptionObject



14
15
16
17
18
19
20
# File 'lib/pubnub/error.rb', line 14

def operation_exception
  #if @operation.present?
  #  ("Pubnub::" + @operation.to_s.capitalize + "Error").constantize
  #else
    PubnubRequest::RequestError
  #end
end