# `Weavr.Error.Decode`
[🔗](https://github.com/iamkanishka/weavr/blob/main/lib/weavr/error.ex#L116)

Raised/returned when a response body could not be parsed as JSON, or
did not match the expected shape for the resource being decoded.

# `t`

```elixir
@type t() :: %Weavr.Error.Decode{
  __exception__: true,
  message: String.t(),
  raw_body: binary() | nil
}
```

---

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