Yesod.Internal
Contents
Description
Normal users should never need access to these.
- data ErrorResponse
- data Header
- langKey :: String
Error responses
data ErrorResponse Source
Responses to indicate some form of an error occurred. These are different
from SpecialResponse
in that they allow for custom error pages.
Constructors
NotFound | |
InternalError String | |
InvalidArgs [String] | |
PermissionDenied String | |
BadMethod String |
Instances
Eq ErrorResponse | |
Show ErrorResponse | |
Failure ErrorResponse (GHandler sub master) |
Header
Headers to be added to a Result
.