We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e380a8 commit 57c792dCopy full SHA for 57c792d
packages/better-fetch/src/error.ts
@@ -7,5 +7,6 @@ export class BetterFetchError extends Error {
7
super(statusText || status.toString(), {
8
cause: error,
9
});
10
+ Error.captureStackTrace(this, this.constructor);
11
}
12
0 commit comments