kotest-assertions / io.kotest.inspectors / ElementResult

ElementResult

sealed class ElementResult<out T>

Functions

error

abstract fun error(): Throwable?

value

abstract fun value(): T

Inheritors

ElementFail

class ElementFail<out T> : ElementResult<T>

ElementPass

class ElementPass<out T> : ElementResult<T>