Back to Clerk

`TokenVerificationErrorCode` import moved to `@clerk/backend/errors`

packages/upgrade/src/versions/core-2/backend/tokenverificationerrorcode-import-move.md

latest366 B
Original Source

The TokenVerificationErrorCode import path has changed from @clerk/backend to @clerk/backend/errors. You must update your import path in order for it to work correctly. Example below of the fix that needs to be made:

diff
- import { TokenVerificationErrorCode } from "@clerk/backend"
+ import { TokenVerificationErrorCode } from "@clerk/backend/errors"