class RSpec::Core::Example

def set_exception(exception)

Other tags:
    Private: -
def set_exception(exception)
  return self.display_exception = exception unless display_exception
  unless RSpec::Core::MultipleExceptionError === display_exception
    self.display_exception = RSpec::Core::MultipleExceptionError.new(display_exception)
  end
  display_exception.add exception
end