Closed theoephraim closed 5 months ago
Improves an existing behavior
It seems all errors thrown in an interceptor are swallowed and turned into a request response. What if I actually just want to throw an error? I did some digging in the source and the docs but couldn't quite figure it out.
Thanks!
Apologies - I meant to open this on https://github.com/mswjs/interceptors
Scope
Improves an existing behavior
Compatibility
Feature description
It seems all errors thrown in an interceptor are swallowed and turned into a request response. What if I actually just want to throw an error? I did some digging in the source and the docs but couldn't quite figure it out.
Thanks!