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 c0bda46 commit 5a43394Copy full SHA for 5a43394
README.md
@@ -91,8 +91,7 @@ Plugin object to pass to the
91
92
## BaseError.httpResponse(error)
93
94
-`error`: `Error`
95
-
+`error`: `Error`\
96
_Return value_: `HttpResponse`
97
98
Converts `error` to a plain object to use in an HTTP response. Its shape follows
@@ -187,7 +186,7 @@ throw new AuthError('...', { http: { ...options } })
187
186
- A specific [`BaseError.httpResponse(error)`](#baseerrorhttpresponseerror) call
188
189
```js
190
-BaseError.httpResponse(error, ...args, { ...options })
+BaseError.httpResponse(error, { ...options })
191
```
192
193
# Related projects
0 commit comments