parseErrorPrintContext
Pretty-prints a message showing the context of a #GVariant parse error within the string for which parsing was attempted.
The resulting string is suitable for output to the console or other monospace media where newlines are treated in the usual way.
The message will typically look something like one of the following:
| unterminated string constant: (1, 2, 3, 'abc ^^^^ |
or
|[ unable to find a common type: 1, 2, 3, 'str' ^ ^^^^^ ]|
The format of the message may change in a future version.
Return
the printed message
Since
2.40
Parameters
error
a #GError from the #GVariantParseError domain
sourceStr
the string that was given to the parser