Photo by ika ika on Unsplash

  • Error handling in JavaScript

    JavaScript has no compile step in the browser: syntax fails at parse time, everything else surfaces at runtime through throw and the Error hierarchy. try/catch/finally, the cause option, custom Error subclasses, and AggregateError cover sync code and Promise rejection paths.

    · Languages / JavaScript Core / Language Basics

  • Error handling with async/await in TypeScript

    TypeScript narrows results when you separate success and failure with typed tuples or Result-like helpers, and it types catch clauses under useUnknownInCatchVariables. This page focuses on typing async error paths—not on try/catch mechanics.

    · Languages / TypeScript Core / General

Search articles

Type a word to search published articles.

Open the search page