Error codes are not strings?

I was trying to compare the error code returned from the authClient, but when I print the value of the enum it just prints Proxy so the switch fails. See screenshots
image.png
image.png
Was this page helpful?