class Restruct::ConnectionError

Public Class Methods

new(inner_exception) click to toggle source
# File lib/restruct/errors.rb, line 14
def initialize(inner_exception)
  @inner_exception = inner_exception
end

Public Instance Methods

backtrace() click to toggle source
# File lib/restruct/errors.rb, line 22
def backtrace
  @inner_exception.backtrace
end
message() click to toggle source
# File lib/restruct/errors.rb, line 18
def message
  @inner_exception.message
end