Cldr.Message.canonical_message-exclamation-mark
You're seeing just the function
canonical_message-exclamation-mark
, go back to Cldr.Message module for more information.
Formats a message into a canonical form or raises if the message cannot be parsed.
This allows for messages to be compared
directly, or using Cldr.Message.jaro_distance/3
.
Arguments
message
is a CLDR message in binary formoptions
is a keyword list of options. The default is[]
Options
:trim
determines if the message is trimmed of whitespace before formatting. The default istrue
.:pretty
determines if the message if formatted with indentation to aid readability. The default isfalse
.
Returns
canonical_message
wherecanonical_message
is a binary orraises an exception