You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, you have to import HttpError from jsr:@fresh/core. This is fine on the server side but doesn’t work client side. In my project I use custom error classes which extend HttpError. The problem is that I need to use these error classes in the browser too. In order for that to work I import HttpError using https://jsr.io/@fresh/core/2.0.0-alpha.34/src/error.ts.
That being said, it would be much nicer to import it using jsr:fresh/core/error or jsr:fresh/core/runtime.
Hence, I’d like to suggest adding ./src/error.ts to the exports in the deno.json. Would that be possible?