# `ExMCP.Error.ProtocolError`
[🔗](https://github.com/azmaveth/ex_mcp/blob/v1.0.0/lib/ex_mcp/error.ex#L28)

Errors related to MCP protocol violations.

# `t`

```elixir
@type t() :: %ExMCP.Error.ProtocolError{
  __exception__: true,
  code: integer(),
  data: any(),
  message: String.t()
}
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
