ErrorClass
- Namespace
- Ancestors
-
-
Value
-
Value::Comparable
-
Comparable
An error result used when the evalution of an expect block failed.
Constructor
initialize(fileString, lineInteger, messageString?, exceptionException)#⚙
Initializes the result pertaining to the expect block defined on line in the expanded path to file. An additional message may also be associated with the result, which was caused by exception.
- Note
-
Comparisons between instances are made between file and line.
Instance Methods
fileprotected#⚙
block that this result pertains to
- ReturnsString
-
The expanded path of the file containing the expect
lineprotected#⚙
result pertains to is defined
- ReturnsInteger
-
The line in FILE on which the expectation that this
message#⚙
error
- ReturnsString?
-
Any additional message associated with this
exceptionException#⚙
Returns the raised exception.