class

Spectator::ExampleFailed

Inherits Exception / Reference / Object

Exception that indicates an example failed. When raised within a test, the test should abort.

Constructors

new(location : Location | Nil, message : String | Nil = nil, cause : Exception | Nil = nil)

Creates the exception.

Source

Instance methods

location
Source
location?
Source