warble-claude-code 0.13.0

Warble back-end for the Claude Code CLI target: IR → static agent files + reference renderer + capability manifest.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Error type for the Claude Code back-end.

use thiserror::Error;

/// A dispatch/render/resolve failure with a human-facing message. Every unsupported IR arm and
/// every failed capability resolution surfaces as one of these (loud-fail) rather than emitting a
/// silently-wrong agent.
#[derive(Debug, Clone, PartialEq, Eq, Error)]
#[error("{0}")]
pub struct DispatchError(pub String);

impl DispatchError {
    pub fn new(message: impl Into<String>) -> Self {
        DispatchError(message.into())
    }
}