qwreey/quad_error

Level-tagged error utility: tag functions with setFuncLevel and let errorAt/errorBefore blame the right caller frame (engine-agnostic, not quad-specific)

qwreey/quad_error

Level-tagged error utility used by quad, not quad-specific. Tag a function with setFuncLevel and errorAt/errorBefore walk the stack to blame the right caller frame without counting wrapper frames by hand.

Levels start at 1: level 0 is not a valid requested level (its behavior is undefined, and the four entry points do not agree on it).

Part of the quad monorepo. Documentation (Korean): https://quad.qwreey.moe/ — start at 설치 or 왜 Quad인가; the same text is in the repo under docs/.

This package is versioned on its own (SemVer, see CHANGELOG.md) — it was published in lockstep with quad up to 3.2.0, and 4.0.0 is its first independent release. The three quad packages below (quad_base, quad_roblox, quad_types) share one version; quad_base is the main one, and the docs show its version:

PackageRoleYou add it?
qwreey/quad_baseengine-agnostic core (reactivity + dispatch engine)yes
qwreey/quad_robloxRoblox backend (Declaration, Tween/Animate, OnChange, Claim)yes, for Roblox
qwreey/quad_typespublic type contract (no implementation)yes, for --!strict consumers
qwreey/quad_errorlevel-tagged error utility (own version)no — pulled in as a dependency
qwreey/type_version_checkcompile-time version pattern matching (own version)no — pulled in as a dependency

License: MIT.