Glossary: TypeScript Beyond the Basics
ApiError
The client's discriminated union of four failures: `http`, `network`, `timeout` and `invalid`. Callers handle each kind with a `switch` on `kind`.
Glossary: TypeScript Beyond the Basics
The client's discriminated union of four failures: `http`, `network`, `timeout` and `invalid`. Callers handle each kind with a `switch` on `kind`.