ErrorG.this

Creates a new #GError with the given @domain and @code, and a message formatted with @format.

  1. this(GError* gError, bool ownedRef)
  2. this(GQuark domain, int code, string message)
  3. this(GQuark domain, int code, string format, void* args)
    class ErrorG
    this
    (,
    int code
    ,
    string format
    ,
    void* args
    )

Parameters

domain GQuark

error domain

code int

error code

format string

printf()-style format for error message

args void*

#va_list of parameters for the message format

Return: a new #GError

Throws

ConstructionException GTK+ fails to create the object.

Meta

Since

2.22