Class Test::Unit::Error
In: test/unit/error.rb
Parent: Object

Encapsulates an error in a test. Created by Test::Unit::TestCase when it rescues an exception thrown during the processing of a test.

Methods
long_display    message    new    short_display    single_character_display    to_s   
Attributes
exception  [R] 
location  [R] 
Public Class methods
new(location, exception)

Creates a new Error with the given location and exception.

Public Instance methods
single_character_display()

Returns a single character representation of an error.

message()

Returns the message associated with the error.

short_display()

Returns a brief version of the error description.

long_display()

Returns a verbose version of the error description.

to_s()

Overridden to return long_display.