UNAUTHORISED
Type: {errType: SuperTokens.Error.UNAUTHORISED, err: any}
- The err object inside the thrown error will be the actual error generated by whatever cause this error.
- This error is thrown when the library is sure that this user's session does not exist anymore. This can happen:
- If the refresh token expires.
- If the user clears the cookies.
- If the session has been revoked or the user has logged out.
- This is an
enum
and thenumber
value of this (as seen on the console) is2000