Throws

Throws throwable on call.

Constructors

Link copied to clipboard
constructor(throwable: Throwable)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun call(scope: MokkeryCallScope): Nothing

open override fun call(scope: MokkeryBlockingCallScope): Nothing

Provides a return value for a blocking function call with given scope.

open suspend override fun call(scope: MokkerySuspendCallScope): Nothing

Provides a return value for a suspend function call with given scope.

Link copied to clipboard
open fun description(): String

Returns human-readable answer description. By default, it returns answers $this. It's used for debugging purposes.

Link copied to clipboard
context(scope: MokkeryRenderingScope)
open override fun render(): String

Returns human-readable representation of this object.