Helper function for associating a Error error domain with D-Bus error names.
| num_entries | Number of items to register. |
| error_domain_quark_name | The error domain name. |
| entries | A pointer to num_entries DBusErrorEntry struct items. |
| quark_volatile | A pointer where to store the Quark. |
