# `Tinkex.Types.RequestFailedResponse`
[🔗](https://github.com/North-Shore-AI/tinkex/blob/v0.4.0/lib/tinkex/types/request_failed_response.ex#L1)

Response indicating a request has failed.

Mirrors Python `tinker.types.RequestFailedResponse`.

# `t`

```elixir
@type t() :: %Tinkex.Types.RequestFailedResponse{
  category: Tinkex.Types.RequestErrorCategory.t(),
  error: String.t()
}
```

# `from_json`

```elixir
@spec from_json(map()) :: t()
```

Parse from JSON map.

# `new`

```elixir
@spec new(String.t(), Tinkex.Types.RequestErrorCategory.t()) :: t()
```

Create a new RequestFailedResponse.

---

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