package grace
Module Diagnostic.MessageSource
The type of messages.
Messages are unrendered formatted strings. The rendering is delayed till Grace's renderering engine since layout decisions are it's responsibility.
A valid message must satisfy the following two conditions:
- Messages must be encoded using ASCII.
- Messages must not contain control characters such as the newline character
\n.
Eqality and comparison of messages is performed on the hash of the messages rendered contents.
kcreatef kont fmt ... is equivalent to kont (createf fmt ...).
converts a message into a string by formatting it with the maximum admissible margin.
alias of Message.create.