class

Spectator::ErrorResult

Inherits Spectator::FailResult / Spectator::Result / Reference / Object

Outcome that indicates running an example generated an error. This occurs when an unexpected exception was raised while running an example. This is different from a "failed" result in that the error was not from a failed assertion.

Instance methods

accept(visitor)

Calls the error method on visitor.

Source
accept(visitor, &)

Calls the error method on visitor.

Source
to_s(io : IO) : Nil

One-word description of the result.

Source