apiFailure

fun <E : Any> apiFailure(error: E? = null): ClerkResult.Failure<E>

Returns a new Failure with API error details.