@haatlabs-core/errors

AppError, shared error codes and typed per-app codes with defineErrors.

pnpm add @haatlabs-core/errors

Its README, with what it offers and how to use it, is on npm. Part of the foundations packages: see all packages.