mirror of
https://github.com/jfmengels/elm-review.git
synced 2024-11-24 07:33:38 +03:00
Display "helpful" error message when code could not be parsed
This commit is contained in:
parent
c7de6956be
commit
72c4add26b
@ -88,7 +88,7 @@ tree ast =
|
||||
ul [] (List.map statement statements)
|
||||
|
||||
err ->
|
||||
div [] [ text <| toString err ]
|
||||
div [] [ text "Sorry, I could not parse your code. This may be my fault though :/" ]
|
||||
|
||||
|
||||
rules : List (String -> List Types.Error)
|
||||
|
Loading…
Reference in New Issue
Block a user