wai-predicates-0.4: 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 -> ErrorSource
Convenience function to construct Error values from status code and body message.
Error