mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 23:34:47 -05:00
Fix typo in errors.ts JSDoc
This commit is contained in:
parent
79b4140a77
commit
07369a6270
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ export { ErrorKind } from "gen/msg_generated";
|
|||
* try {
|
||||
* somethingThatMightThrow();
|
||||
* } catch (e) {
|
||||
* if (e instanceof DenoError && e.kind === DenoError.Overflow) {
|
||||
* if (e instanceof DenoError && e.kind === ErrorKind.Overflow) {
|
||||
* console.error("Overflow error!");
|
||||
* }
|
||||
* }
|
||||
|
|
Loading…
Reference in a new issue