elm package cache
Packages
Reroutes
About
lamdera.com
mdgriffith
/
elm-markup
/
3.0.0
NOTE: the latest version is
3.0.1
README
About
Versions
Source
Modules
Mark.Error
type
alias
Error
=
Rendered
Rendering Errors
toString
:
Error
->
String
toHtml
:
Theme
->
Error
->
Html
msg
type
Theme
=
Dark
|
Light
toDetails
:
Error
->
Details
type
alias
Details
=
{ title
:
String
, message
:
List
Text
, region
:
Maybe
Range
}
type
alias
Text
=
{ text
:
String
, bold
:
Bool
, underline
:
Bool
, color
:
Maybe
String
}
type
alias
Range
=
{ start
:
Position
, end
:
Position
}
type
alias
Position
=
{ offset
:
Int
, line
:
Int
, column
:
Int
}
Creating Custom Errors
type
alias
Custom
=
{ title
:
String
, message
:
List
String
}
Create a custom error message to use with
Mark.verify
README
About
10 versions
Source
Modules
Mark
Mark.Edit
Mark.New
Mark.Error