class RCRest::CommunicationError

Error raised when communicating with the server

Attributes

original_exception[RW]

The original exception

Public Class Methods

new(original_exception) click to toggle source

Creates a new CommunicationError with message and original_exception

# File lib/rc_rest.rb, line 71
def initialize(original_exception)
  @original_exception = original_exception

  message = "Communication error: #{original_exception.message}(#{original_exception.class})"
  super message
end