Weavr.Error.Decode exception (Weavr v1.0.0)

Copy Markdown View Source

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

Summary

Types

t()

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