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 30dd8f9 commit 5e82254Copy full SHA for 5e82254
packages/plexus-api/src/api.ts
@@ -150,7 +150,7 @@ export class ApiInstance {
150
if (this._internalStore.abortOnTimeout) controller.abort()
151
152
// if we're throwing, throw an error
153
- if (this._internalStore.throws) throw new WebTransportError('Request timed out')
+ if (this._internalStore.throws) throw new Error('Request timed out')
154
// a 504 response status means the programmatic timeout was surpassed
155
return ApiInstance.createEmptyRes<ResponseDataType>(
156
timedOut ? 504 : res?.status ?? 513
0 commit comments