toStytchErrorType

fun String.toStytchErrorType(): StytchErrorType?

Converts a string to an error type supported by Stytch