Function

GLib-2.0GLibprefix_error_literalSince 2.70

  • Prefixes prefix to an existing error message. If err or *err is null (i.e.: no error variable) then do nothing.

    Parameters

    • err: GLib.Error | null

      a return location for a GLib.Error, or null

    • prefix: string

      string to prefix err with

    Returns GLib.Error | null

    2.70