class Cucumber::Undefined
def self.from(result, step_name)
def self.from(result, step_name) if result.is_a?(self) return result.with_message(with_prefix(result.message)) end begin raise self.new(with_prefix(step_name)) rescue => exception return exception end end