class Minitest::UnexpectedError

def backtrace # :nodoc:

:nodoc:
def backtrace # :nodoc:
  self.exception.backtrace
end

def error # :nodoc:

:nodoc:
def error # :nodoc:
  self.exception
end

def initialize exception # :nodoc:

:nodoc:
def initialize exception # :nodoc:
  super
  self.exception = exception
end

def message # :nodoc:

:nodoc:
def message # :nodoc:
  bt = Minitest.filter_backtrace(self.backtrace).join "\n    "
  "#{self.exception.class}: #{self.exception.message}\n    #{bt}"
end

def result_label # :nodoc:

:nodoc:
def result_label # :nodoc:
  "Error"
end