| Safe Haskell | None | 
|---|---|
| Language | Haskell2010 | 
Servant.Server.Internal.RouteResult
Synopsis
- data RouteResult a
- = Fail ServerError
 - | FailFatal !ServerError
 - | Route !a
 
 - newtype RouteResultT (m :: Type -> Type) a = RouteResultT {
- runRouteResultT :: m (RouteResult a)
 
 
Documentation
data RouteResult a Source #
The result of matching against a path in the route tree.
Constructors
| Fail ServerError | Keep trying other paths.
   The   | 
| FailFatal !ServerError | Don't try other paths.  | 
| Route !a | 
Instances
newtype RouteResultT (m :: Type -> Type) a Source #
Constructors
| RouteResultT | |
Fields 
  | |