Skip to content

Error types import as values #609

Answered by panva
nazrhyn asked this question in Q&A
Nov 27, 2023 · 6 comments · 2 replies
Discussion options

You must be logged in to vote

In v5.1.3 you can to get around the root export being an object with values as keys

import { JOSEError } from 'jose/errors'

Replies: 6 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@panva
Comment options

@nazrhyn
Comment options

Answer selected by nazrhyn
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants