Pages.Internal.NotFoundReason
Exposed for internal use only (used in generated code).
type
alias
ModuleContext
=
{ moduleName
:
List
String
, routePattern
:
RoutePattern
, matchedRouteParams
:
Record
}
type
NotFoundReason
=
NoMatchingRoute
|
NotPrerendered
ModuleContext
(
List
Record
)
|
NotPrerenderedOrHandledByFallback
ModuleContext
(
List
Record
)
|
UnhandledServerRoute
ModuleContext
type
alias
Payload
=
{ path
:
Path
, reason
:
NotFoundReason
}
type
alias
Record
=
List
(
String
,
String
)
document
:
List
RoutePattern
->
Payload
-> { title
:
String
, body
:
List
(
Html
msg)
}
elm doc
preview
Open Files
Close Preview
README
Browse Source
ApiRoute
BackendTask
BackendTask.Env
BackendTask.File
BackendTask.Glob
BackendTask.Http
BackendTask.Port
Exception
Form
Form.Field
Form.FieldStatus
Form.FieldView
Form.FormData
Form.Validation
Form.Value
Head
Head.Seo
Pages.Fetcher
Pages.Flags
Pages.FormState
Pages.Generate
Pages.Internal.NotFoundReason
Pages.Internal.Platform
Pages.Internal.Platform.Cli
Pages.Internal.Platform.GeneratorApplication
Pages.Internal.ResponseSketch
Pages.Internal.RoutePattern
Pages.Internal.Router
Pages.Manifest
Pages.Manifest.Category
Pages.Msg
Pages.PageUrl
Pages.Script
Pages.Transition
Pages.Url
Path
QueryParams
Server.Request
Server.Response
Server.Session
Server.SetCookie