1module ErrorPage exposing (ErrorPage(..), Model, Msg, head, init, internalError, notFound, statusCode, update, view)
3import Effect exposing (Effect)
4import Element exposing (..)
6import View exposing (View)
18init : ErrorPage -> ( Model, Effect Msg )
25update : ErrorPage -> Msg -> Model -> ( Model, Effect Msg )
26update errorPage msg model =
29 ( { model | count = model.count + 1 }, Effect.none )
32head : ErrorPage -> List Head.Tag
39 | InternalError String
47internalError : String -> ErrorPage
52view : ErrorPage -> Model -> View Msg
58 "Page not found. Maybe try another URL?"
60 InternalError string ->
61 "Something went wrong.\n" ++ string
67 InternalError string ->
72statusCode : ErrorPage -> number
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list