Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Bench Error Codes?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/kalmbik61-bench-error-codes)
---
name: bench-error-codes
description: Name and raise errors in bench-app. Use when adding code that can fail or throw.
---
# bench-error-codes
Raise `BenchError` from `src/errors.js` as `new BenchError(code, message)`.
Codes look like `E-<AREA>-<NNN>`: the area upper-case (`net` becomes `NET`), the number three digits.
The first code in an area is `001`; reuse one code for one failure kind.