View Source Sanity.Error exception (sanity v2.0.0)
Error that may occur while making a request to the Sanity API. The source field will be one of
the following:
%Req.Response{}- If response with an unsupported HTTP status (like 5xx) is received.%Mint.TransportError{}- If a network error such as a timeout occurred. Inreq0.5 this will change to%Req.TransportError{}.%Sanity.Response{}- If a 4xx response is received during a call toSanity.request!/2.