strikt-core / strikt.assertions / failed

failed

fun <T> Builder<Result<T>>.failed(): Builder<Throwable>
Deprecated: Replaced with isFailure()

Asserts that the subject is a failed result and maps this assertion to an assertion over the exception that was thrown

See Also

Result.isFailure