newLiteral

fun newLiteral(domain: <Error class: unknown class>, code: <Error class: unknown class>, message: String): Error

Creates a new #GError; unlike g_error_new(), @message is not a printf()-style format string. Use this function if

Return

a new #GError

Parameters

domain

error domain

code

error code

message

error message