workers-rs icon indicating copy to clipboard operation
workers-rs copied to clipboard

Improve error handling

Open njaremko opened this issue 3 years ago • 0 comments

Improves error handling by:

  • Adding support for anyhow
  • Implementing From<Error> for Response

Note: After making these changes, I get the following error when I run wrangler dev, which seems to suggest an issue with the bundler? Because I don't think I touched anything relevant to that error?

Error: Something went wrong with the request to Cloudflare...
Uncaught Error: No such module "snippets/wasm-streams-8c20110b5d812e48/inline0.js".
  at line 0
 [API code: 10021]

njaremko avatar Mar 22 '22 18:03 njaremko