| Safe Haskell | Safe-Inferred | 
|---|---|
| Language | Haskell2010 | 
Servant.Server.Internal.RouteResult
Synopsis
- data RouteResult a- = Fail ServerError
- | FailFatal !ServerError
- | Route !a
 
- newtype RouteResultT m 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 a Source #
Constructors
| RouteResultT | |
| Fields 
 | |