wai-predicates-0.5: WAI request predicates
Network.Wai.Predicate.Error
Synopsis
data Error Source
The error type used as meta-data for Fail in all WAI predicates.
Fail
Constructors
Fields
HTTP status code
optional status message
Instances
err :: Status -> ByteString -> Error Source
Convenience function to construct Error values from status code and body message.
Error