Class in Testing · Testing
A test client shut down after application code failed without a handler, such as an event handler or command that threw or returned a failed Result
The failures list holds the Error records of those failures in order. Reading failures() before shutdown marks the returned failures as expected, and an on hook handles them instead
class UnhandledTestFailuresError extends FluxerlyErrorclass UnhandledTestFailuresError
extends FluxerlyErrorConstructor#
new UnhandledTestFailuresError(
failures: readonly LogRecord[]
): UnhandledTestFailuresErrornew UnhandledTestFailuresError(
failures: readonly LogRecord[]
): UnhandledTestFailuresErrorParameters
Properties#
_tag#
Discriminator for unhandled failures found when a test client shut down
readonly _tag: "UnhandledTestFailuresError"failures#
Error records of the unhandled failures, in the order they were logged
readonly failures: readonly LogRecord[]Inherited#
Inherited from Fluxerly: code, details, hint, to