Back to Clerk

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

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

latest354 B
Original Source

The TokenVerificationError 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 { TokenVerificationError } from "@clerk/backend"
+ import { TokenVerificationError } from "@clerk/backend/errors"