Expand description
Nika Error Types with Error Codes
Error code ranges:
- NIKA-000-009: Workflow errors
- NIKA-010-019: Schema/validation errors
- NIKA-020-029: DAG errors
- NIKA-030-039: Provider errors
- NIKA-040-049: Template/binding errors
- NIKA-050-059: Path/task/security errors
- NIKA-060-069: Output errors
- NIKA-070-079: With block validation errors
- NIKA-080-089: DAG validation errors
- NIKA-090-099: JSONPath/IO errors (+NIKA-096 Execution catch-all)
- NIKA-100-109: MCP errors
- NIKA-110-119: Agent errors
- NIKA-120-129: Resilience errors
- NIKA-130-139: TUI errors
- NIKA-140-151: AST analysis errors (Phase 2 analyzer)
- NIKA-160-164: Parse errors (Phase 1 parser — ParseErrorKind in nika-core, DO NOT REUSE)
- NIKA-165-169: Startup/Policy/Boot errors (165=Policy, 166=Boot, 167=Startup)
Extended ranges:
- NIKA-200-209: File Tool errors (ToolErrorCode in src/tools/mod.rs)
- NIKA-210-219: Builtin tool errors
- NIKA-220-229: Reserved (DAG Panel - not implemented)
- NIKA-230-239: Reserved (Session persistence - not implemented)
- NIKA-240-249: Reserved (Animation/Export - not implemented)
- NIKA-251-259: Media pipeline errors (MIME, CAS, base64, budget — src/media/error.rs)
- NIKA-260-269: Package URI errors
- NIKA-270-279: Skill errors
- NIKA-280-285: Artifact/media errors (path validation, write, size, integrity, cleanup, lock)
- NIKA-290-297: Media tool errors (tool, format, deps, timeout, args, pipeline, security)
- NIKA-300-309: Structured Output errors (JSON Schema validation, extraction, repair)
- NIKA-310-319: Course errors (course system, exercises, progress)
Enums§
- Nika
Error - All error variants are part of the public API.
Traits§
- FixSuggestion
- Trait for errors that provide fix suggestions