# rust-dev-error-type

`station__rust-dev__rust-dev-error-type` · external (needs EXECUTION_BACKEND_URL configured) · domain `rust-dev` · pv-relevance `non-pv`

Rust Dev Error Type

> **Note:** This tool routes through an external execution backend. If `EXECUTION_BACKEND_URL` is unset on the server, calls return JSON-RPC error `-32603 "Tool execution backend not configured"`. Tools with `backend: native` execute in-process and are always callable.

## Agent metadata

- `idempotent`: unknown
- `read_only`: unknown
- `expected_latency_ms`: unknown (not yet contract-tested)
- `cost_tokens_estimate`: unknown

## Input schema

- `name` *string* (required) — Module or type name prefix (used for the error type, e.g. "MyService" -> MyServiceError)
- `use_thiserror` *boolean* (required)
- `variants` *array* (required) — Error variant specifications

## Example call

```json
POST /api/mcp
Content-Type: application/json

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "station__rust-dev__rust-dev-error-type",
    "arguments": {
      "name": "",
      "use_thiserror": false,
      "variants": []
    }
  }
}
```

## Related

- [/tools](/tools) — all 3062 tools
- [/tools/rust-dev__rust-dev-error-type](/tools/rust-dev__rust-dev-error-type) — HTML page
- [/tools/rust-dev__rust-dev-error-type/json](/tools/rust-dev__rust-dev-error-type/json) — JSON form (agent-friendly)
- [/api/mcp](/api/mcp) — endpoint
- [/AGENTS.md](/AGENTS.md) — agent guide
