Skip to content

Commit 5a43394

Browse files
committed
Improve README
1 parent c0bda46 commit 5a43394

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,7 @@ Plugin object to pass to the
9191

9292
## BaseError.httpResponse(error)
9393

94-
`error`: `Error`
95-
94+
`error`: `Error`\
9695
_Return value_: `HttpResponse`
9796

9897
Converts `error` to a plain object to use in an HTTP response. Its shape follows
@@ -187,7 +186,7 @@ throw new AuthError('...', { http: { ...options } })
187186
- A specific [`BaseError.httpResponse(error)`](#baseerrorhttpresponseerror) call
188187

189188
```js
190-
BaseError.httpResponse(error, ...args, { ...options })
189+
BaseError.httpResponse(error, { ...options })
191190
```
192191

193192
# Related projects

0 commit comments

Comments
 (0)