Error naming convention on dbus

Nyirő Gergő <gergo-VbCGMPl49+BBDLzU/[email protected]>
Newsgroups gmane.comp.freedesktop.dbus
Message-ID <CAOch2Uc_Ae9h2i+kWAfT2RhFO+fXQzD_AjW_UUSTdZ7Y6Cg3Aw@mail.gmail.com>
Dear list,

I would like to ask about the naming convention of dbus errors.

I saw the following pattern in dbus libraries: if the response  to the
`Set` method of the `org.freedesktop.DBus.Properties` interface is an
error then the name of the error is prefixed with
`org.freedesktop.DBus.Properties.Error.`.

Is it right that the name of the error should correlate with the
invoked interface (<interface-name> + ".Error." + <error-type>)?

Is there any official rule about the error names?
Is there a list of common errors somewhere?

At first glance it seems that the instrospection data does not contain
the possible errors. Is it right or they can be inculded somehow?

Tanks for any advice,
Gergo
_______________________________________________
dbus mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dbus
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.