setError

fun setError()

Sets the current step to failed state.