Skip to content

Commit cbc72c1

Browse files
authored
docs: correct typos (#51)
1 parent c480db8 commit cbc72c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/error.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ export function createError (input: Partial<H3Error>): H3Error {
4646
}
4747

4848
/**
49-
* Recieve an error and return the corresponding response.<br>
50-
* H3 internally uses this fucntion to handle unhandled errors.<br>
49+
* Receive an error and return the corresponding response.<br>
50+
* H3 internally uses this function to handle unhandled errors.<br>
5151
* Note that calling this function will close the connection and no other data will be sent to client afterwards.
5252
*
5353
* @param res {ServerResponse} The ServerResponse object is passed as the second parameter in the handler function

0 commit comments

Comments
 (0)