@zero-server/errors
v0.9.6
Published
HttpError + 25+ typed framework and ORM errors.
Maintainers
Readme
@zero-server/errors
HttpError + 25+ typed framework and ORM errors.
Every typed error class shipped by the SDK: HTTP status errors, framework errors (configuration / middleware / routing / timeout), ORM errors (database / connection / migration / transaction / query / adapter / cache), and the Phase 4 errors (tenancy / audit / plugin / procedure). Plus the createError factory, isHttpError guard, and the lightweight debug logger.
Install
npm install @zero-server/errorsOr install the full SDK to get everything at once:
npm install @zero-server/sdkUsage
const { createError } = require('@zero-server/errors')Public surface
This package provides 34 public exports as a standalone runtime bundle. See the scope page for the full list.
Documentation
License
MIT © Anthony Wiedman
