createError

Create an expected error.

Return

the created expected error

Parameters

<E>

< type of the expected error

<V>

< type of the expected value

error

the expected error

open fun <E, V> createError(error: E): Expected<E, V>