isError

open fun isError(): Boolean

Returns if the expected contains an error.

Return

True, if this contains an error