MockErrorOutput

A JSON object that contains a mocked error.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

A string containing the cause of the exception thrown when executing the state's logic.

Link copied to clipboard

A string denoting the error code of the exception thrown when invoking the tested state. This field is required if mock.errorOutput is specified.

Functions

Link copied to clipboard
inline fun copy(block: MockErrorOutput.Builder.() -> Unit = {}): MockErrorOutput
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String