The explanation should provide a detailed description of why the error occurred and use examples from the user's own code to illustrate how to avoid these errors.
The kind of the error message is something like "Syntax" or "Type Mismatch"
The msg
contains the diagnostic message e.g:
The msg
contains the diagnostic message e.g:
> expected: String > found: Int
This message wil be placed underneath the position given by the enclosing
MessageContainer
Enclose this message in an DeprecationWarning
container
Enclose this message in an Error
container
a unique number identifying the message, this will later be used to reference documentation online
Enclose this message in an FeatureWarning
container
Enclose this message in an Info
container
It is possible to map msg
to add details, this is at the loss of
precision since the type of the resulting Message
won't be original
extending class
It is possible to map msg
to add details, this is at the loss of
precision since the type of the resulting Message
won't be original
extending class
a Message
with the mapped message
Enclose this message in an MigrationWarning
container
Enclose this message in an UncheckedWarning
container
Enclose this message in an Warning
container
A
Message
contains all semantic information necessary to easily comprehend what caused the message to be logged. Each message can be turned into aMessageContainer
which contains the log level and can later be consumed by a subclass ofReporter
.