Error
Description:
[ CCode ( cprefix = "G_PASTE_ERROR_" , has_type_id = false ) ]
public errordomain Error
The errors the daemon reports over D-Bus.
This domain is registered with register_error_domain
, so a remote error raised by the daemon comes back out of a Client call as a
Error in this domain rather than as an opaque
g_dbus_error_remote_exception string: callers can switch on the code instead of matching on the message.
Content:
Error codes:
- ALREADY_EXISTS - something already goes
by that name
- FAILED - something went wrong and nothing more
specific fits
- INVALID_ARGUMENT - a required
argument was empty, missing, or not something the method can act on
- INVALID_INDEX - the index is past the
end of the history
- NOT_ENCRYPTED - the operation only means
something on an encrypted history, and this one is not
- NOT_FOUND - no item, password or history
goes by that name/uuid
- REJECTED - the daemon's own policy refused
the item; the request was well formed and nothing went wrong
- WRONG_ITEM_KIND - the item exists but
is not of a kind this operation can act on
Static methods:
- public static Quark quark ()
Get the Quark
identifying the Error domain, registering the domain with GDBus on the first call.