Copyright | (c) digitally induced GmbH 2020 |
---|---|
Safe Haskell | None |
Synopsis
- data TypedAutoRouteError
- = BadType {
- expectedType :: !ByteString
- value :: !(Maybe ByteString)
- field :: !ByteString
- | TooFewArguments
- | NotMatched
- | NoConstructorMatched {
- expectedType :: !ByteString
- value :: !(Maybe ByteString)
- field :: !ByteString
- = BadType {
- data UnexpectedMethodException = UnexpectedMethodException {
- allowedMethods :: [StdMethod]
- method :: StdMethod
Documentation
data TypedAutoRouteError Source #
BadType | |
| |
TooFewArguments | |
NotMatched | |
NoConstructorMatched | Thrown when Let's say we have a When opening |
|
Instances
Exception TypedAutoRouteError Source # | |
Defined in IHP.Router.Types | |
Show TypedAutoRouteError Source # | |
Defined in IHP.Router.Types showsPrec :: Int -> TypedAutoRouteError -> ShowS # show :: TypedAutoRouteError -> String showList :: [TypedAutoRouteError] -> ShowS # |
data UnexpectedMethodException Source #
Thrown e.g. a CreateProjectAction
is called from a GET request
Instances
Exception UnexpectedMethodException Source # | |
Show UnexpectedMethodException Source # | |
Defined in IHP.Router.Types showsPrec :: Int -> UnexpectedMethodException -> ShowS # show :: UnexpectedMethodException -> String showList :: [UnexpectedMethodException] -> ShowS # |