GLib error domain.
This trait is implemented by error enums that represent error domains (types).
Returns the quark identifying the error domain.
As returned from
Gets the integer representation of the variant.
Tries to convert an integer code to an enum variant.
By convention, the
Failed variant, if present, is a catch-all,
i.e. any unrecognized codes map to it.