mirror of
https://github.com/denoland/deno.git
synced 2025-01-10 16:11:13 -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 {
|
* try {
|
||||||
* somethingThatMightThrow();
|
* somethingThatMightThrow();
|
||||||
* } catch (e) {
|
* } catch (e) {
|
||||||
* if (e instanceof DenoError && e.kind === DenoError.Overflow) {
|
* if (e instanceof DenoError && e.kind === ErrorKind.Overflow) {
|
||||||
* console.error("Overflow error!");
|
* console.error("Overflow error!");
|
||||||
* }
|
* }
|
||||||
* }
|
* }
|
||||||
|
|
Loading…
Reference in a new issue