Module
Payload.Client.DecodeResponse
- Package
- purescript-payload
- Repository
- hoodunit/purescript-payload
#DecodeResponseError Source
data DecodeResponseError
Constructors
InternalDecodeError { message :: String }
UnhandledResponseError { message :: String }
JsonDecodeError { errors :: MultipleErrors }
Instances
#unexpectedError Source
unexpectedError :: forall a. String -> ResponseBody -> Either DecodeResponseError a
#DecodeResponse Source
class DecodeResponse r where
Members
Instances
DecodeResponse String
(TypeEquals (Stream r) (Stream (read :: Read | r'))) => DecodeResponse (Stream r)
(ReadForeign (Record r)) => DecodeResponse (Record r)
(ReadForeign (Array r)) => DecodeResponse (Array r)
(Warn (Above (Text "API client cannot query all of endpoints in API spec:") (Above (Text "") (Above (Text "No type class instance was found for") (Above (Text "") (Above (Beside (Text "DecodeResponse ") (Quote a)) (Text ""))))))) => DecodeResponse a
- Modules
- Payload.
Client - Payload.
Client. ClientApi - Payload.
Client. DecodeResponse - Payload.
Client. EncodeBody - Payload.
Client. EncodeParam - Payload.
Client. Internal. EncodeUri - Payload.
Client. Internal. Query - Payload.
Client. Internal. Url - Payload.
Client. Options - Payload.
Client. QueryParams - Payload.
Client. Queryable - Payload.
Client. Response - Payload.
ContentType - Payload.
Debug - Payload.
Headers - Payload.
Internal. QueryParsing - Payload.
Internal. Route - Payload.
Internal. UrlParsing - Payload.
Internal. Utils - Payload.
ResponseTypes - Payload.
Server - Payload.
Server. Cookies - Payload.
Server. DecodeBody - Payload.
Server. Guards - Payload.
Server. Handleable - Payload.
Server. Handlers - Payload.
Server. Internal. GuardParsing - Payload.
Server. Internal. MimeTypes - Payload.
Server. Internal. OmitEmpty - Payload.
Server. Internal. Query - Payload.
Server. Internal. Querystring - Payload.
Server. Internal. Request - Payload.
Server. Internal. ServerResponse - Payload.
Server. Internal. Trie - Payload.
Server. Internal. Url - Payload.
Server. Internal. UrlString - Payload.
Server. Params - Payload.
Server. Path - Payload.
Server. QueryParams - Payload.
Server. Response - Payload.
Server. Routable - Payload.
Server. Status - Payload.
Spec - Payload.
TypeErrors