Expand description
Standard error types for all sisters.
Two error layers:
-
ProtocolError — MCP/JSON-RPC protocol errors (wrong method, bad params, unknown tool). These become JSON-RPC error responses.
-
SisterError — Domain/business logic errors (node not found, invalid state). These become
{isError: true}tool results per MCP spec.
§MCP Error Handling Rule
If the tool was found and invoked, errors go through isError: true.
JSON-RPC errors are only for protocol/routing failures.
Structs§
- Protocol
Error - MCP protocol error — becomes a JSON-RPC error response.
- Sister
Error - Standard error type for ALL sisters — domain/business logic errors.
Enums§
- Error
Code - Standard error codes across ALL sisters.
- Protocol
Error Code - Standard JSON-RPC / MCP protocol error codes.
- Severity
- Severity levels
- Suggested
Action - Suggested actions for error recovery
Type Aliases§
- Protocol
Result - Result type alias for protocol operations
- Sister
Result - Result type alias for sister operations (domain errors)