Skip to content

Commit 04f2c8e

Browse files
authored
Update README.md
1 parent cb3f3e1 commit 04f2c8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ If a function is synchronous, then it should use `throw` when an error occurs, a
169169

170170
Otherwise, an asynchronous function should propagate the error by passing it as a first value to a callback function, or it should return a rejected promise.
171171

172-
Note the `async/await` mechanism, which is in draft, will consolidate both worlds by having asynchronous errors being handled in side `try/catch` blocks.
172+
Note the `async/await` mechanism, which is in draft, will consolidate both worlds by having asynchronous errors being handled inside `try/catch` blocks.
173173

174174
### Go
175175
In Go on the other hand, the way to propagate an error is determined by the degree of severity with context of the whole application.

0 commit comments

Comments
 (0)