CIRCE / DOCUMENTATION
Error classes
The startup error taxonomy and how it renders in the terminal.
On this page
Every authoring failure inherits from CirceError; the class name is the category. Independent errors are collected and shown together.
| Class | Raised when |
|---|---|
ConfigError |
circe.config.ts or the environment fails validation. |
ModuleValidationError |
A module does not satisfy its category contract. |
DiscoveryConflictError |
Two modules resolve to the same identity: duplicate command name or colliding prefix. |
IntegrationError |
An integration’s setup() throws or breaks its contract. |
CirceError |
Other internal failures. |
Format
Location first, then reason:
✗ src/commands/utility/ping.ts
Duplicate command name "ping" — already registered by src/commands/fun/ping.ts.
1 error(s) found. Circe did not start.
With --format json the same failure is one document with category, issues and the exit code.
Not covered here
Failures while handling a live interaction go through the error boundary, not this taxonomy. Process exit codes: Exit codes.
