retrofit-mock / retrofit2.mock / NetworkBehavior / failureException

failureException

fun failureException(): Throwable!

The exception to be used when a failure is triggered.