Skip to content

Commit

Permalink
docs: remove extra space (#718)
Browse files Browse the repository at this point in the history
  • Loading branch information
kongmoumou authored Apr 17, 2024
1 parent 8ffe898 commit dbbf087
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/1.guide/2.event-handler.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ This will end the request with `400 - Bad Request` status code and the following

### Internal errors

If during calling an event handler an error with `new Error()` will be thrown (without `create Error`), h3 will automatically catch as a [`500 - Internal Server Error`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/500) status response considering it an unhandled error.
If during calling an event handler an error with `new Error()` will be thrown (without `createError`), h3 will automatically catch as a [`500 - Internal Server Error`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/500) status response considering it an unhandled error.

```js
app.use(
Expand Down

0 comments on commit dbbf087

Please sign in to comment.