onFailureType
inline fun <T : Any, E : Any> ClerkResult<T, E>.onFailureType(errorType: ClerkResult.Failure.ErrorType, action: (failure: ClerkResult.Failure<E>) -> Unit): ClerkResult<T, E>
Performs the given action on the encapsulated failure if this instance represents a failure with the specified error type. Returns the original ClerkApiResult
unchanged.