❯ deno run -A delete.jsThat file didn't existerror: Uncaught (in promise) NotFound: No such file or directory (os error 2), remove 'fakefile' at async Object.remove (ext:deno_fs/30_fs.js:175:3)
❯ deno run -A delete.jsThat file didn't existerror: Uncaught (in promise) NotFound: No such file or directory (os error 2), remove 'fakefile' at async Object.remove (ext:deno_fs/30_fs.js:175:3)
So the code within the
catch
catch
statement isn't running, but the code after the catch statement is executed. And yet the program crashes due to an uncaught error.