# `Pixir.Provider.TransportError`
[🔗](https://github.com/Ranvier-Technologies/pixir/blob/main/lib/pixir/provider/transport_error.ex#L1)

Secret-safe classification for failures crossing the Provider transport boundary.

Transport failures may contain request arguments, stack frames, headers, endpoint
paths, or arbitrary adapter terms. This module deliberately projects only a small,
fixed vocabulary; callers must never `inspect/1` an untrusted transport reason into
an error, Log, diagnostic, or Provider metadata field.

# `project`

```elixir
@spec project(
  term(),
  keyword()
) :: map()
```

Project an arbitrary transport return into a bounded structured error.

# `reason`

```elixir
@spec reason(term()) :: atom()
```

Return a bounded reason atom without retaining arbitrary failure data.

---

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