class Cucumber::WireSupport::WireException
Proxy for an exception that occured at the remote end of the wire
def backtrace
def backtrace @backtrace || super end
def initialize(args, config)
def initialize(args, config) super args['message'] if args['exception'] self.class.extend(CanSetName) self.class.exception_name = "#{args['exception']} from #{config}" end if args['backtrace'] @backtrace = if args['backtrace'].is_a?(String) args['backtrace'].split("\n") # TODO: change cuke4nuke to pass an array instead of a big string else args['backtrace'] end end end