record RequestErr : TypeRE : Bits16 -> String -> String -> Either JSON String -> String -> RequestErr.details : RequestErr -> Either JSON String.error : RequestErr -> String.message : RequestErr -> String.path : RequestErr -> String.status : RequestErr -> Bits16Eq RequestErrFromJSON RequestErrHTTPLocal => Interpolation RequestErrShow RequestErrToJSON RequestErr.status : RequestErr -> Bits16status : RequestErr -> Bits16.error : RequestErr -> Stringerror : RequestErr -> String.message : RequestErr -> Stringmessage : RequestErr -> String.details : RequestErr -> Either JSON Stringdetails : RequestErr -> Either JSON String.path : RequestErr -> Stringpath : RequestErr -> StringrequestErr : Status -> RequestErrrequestErrMsg : String -> Status -> RequestErrrequestErrDetails : Interpolation a => a -> Status -> RequestErrrequestErrJSON : ToJSON a => a -> Status -> RequestErrtoJSONErr : FromJSON e => RequestErr -> Maybe eTries to convert a `RequestErr` to an error of type `e`
by decoding its `details` field.
decodeErr : (0 e : Type) -> Has RequestErr es => Has e es => FromJSON e => MErr f => f es a -> f es aTries to convert a `RequestErr` to an error of type `e`
and throws that in case the conversion succeeds. Otherwise,
the original request error is rethrown.