Glossary: TypeScript Beyond the Basics
HttpError
A custom class that extends `Error` and adds the HTTP `status` and an error `code`. The `request` helper throws it when the server answers with an error status such as 404.
Glossary: TypeScript Beyond the Basics
A custom class that extends `Error` and adds the HTTP `status` and an error `code`. The `request` helper throws it when the server answers with an error status such as 404.