sarif-0.1: SARIF implementation for Haskell
Safe HaskellSafe-Inferred
LanguageHaskell2010

Data.SARIF.MultiformatMessageString

Description

Provides the MultiformatMessageString type which is used to represent messages in different formats, such as text or markdown.

Synopsis

Documentation

data MultiformatMessageString Source #

Represents a message in at least textual representation, but also allowing it to be provided in other formats such as markdown.

Constructors

MkMultiformatMessageString 

Fields

defaultMultiformatMessageString :: Text -> MultiformatMessageString Source #

defaultMultiformatMessageString messageText constructs a MultiformatMessageString value where messageText is the textual representation of the message.