@inhuman.tools/error-with-invariant
v0.5.1
Published
Error base whose static invariant throws new this(...ctorArgs).
Readme
@inhuman.tools/error-with-invariant
Minimal Error base class with a static invariant(condition, ...args) assertion helper that throws new this(...ctorArgs).
Requires Node.js 22+.
Install
npm install @inhuman.tools/error-with-invariantLicense
MIT.
