Variable: ERROR_KINDS
ts
const ERROR_KINDS: typeof ERROR_KINDS;Defined in: src/core/errors/kinds.ts:11
Every error this package throws carries the list of kinds it belongs to, under a well-known symbol.
The predicates read that list rather than the prototype chain, so they keep working when two copies of the package end up in one process — a realistic outcome of transitive dependency ranges, and one where instanceof silently returns false. instanceof still works, because each class also implements Symbol.hasInstance on top of the same list.