I am trying the SPA SDK Sample

I am trying the SPA SDK Sample.
The functions createAuth0Crient and Auth0.isAuthenticated are not enclosed in exception handling blocks.
Do they not throw any exceptions?
Where can I find the documentation about that?
Thank you.

Hi @yfujita,

The documentation for that library can be found here:

and here:

The first link mentions:

You can also create the client directly using the Auth0Client constructor. This can be useful if:

  • You wish to do custom error handling.
1 Like

The material you gave me I had already read.
I have reread it and there is no mention of throwing exceptions.
I understood this to mean that I should code under the assumption that exceptions are thrown.
Thank you.

1 Like