ErrorG.this

Creates a new #GError; unlike g_error_new(), @message is not a printf()-style format string. Use this function if @message contains text you don't have control over, that could include printf() escape sequences.

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

Parameters

domain GQuark

error domain

code int

error code

message string

error message

Return Value

a new #GError

Throws

ConstructionException GTK+ fails to create the object.

Meta