Latch. Error. InvalidResponse exception
(latch v0.5.0)
Copy Markdown
A server response was structurally invalid, including bad JSON or a missing or malformed required field.
reason values
:invalid_json:unexpected_response{:http_status, status}{:missing, field}{:invalid, field}
Summary
Types
@type reason() :: :invalid_json | :unexpected_response | {:http_status, pos_integer()} | {:missing, String.t()} | {:invalid, String.t()}