Proxies should return the generic zbus::Error anyway but this becomes important if we want to make use of the new ability of interface to generate the proxy for us (see #842). I first decided to have interface return the same error type in the proxy methods as it was returning itself and I implemented it already but then I realized this means the error types would be different for fallible and infallible methods in the same proxy.
Note that with the current interface implementation (that hardcodes zbus::Result), this will be implicitly fixed by #842.
Proxies should return the generic
zbus::Error
anyway but this becomes important if we want to make use of the new ability ofinterface
to generate the proxy for us (see #842). I first decided to haveinterface
return the same error type in the proxy methods as it was returning itself and I implemented it already but then I realized this means the error types would be different for fallible and infallible methods in the same proxy.Note that with the current
interface
implementation (that hardcodeszbus::Result
), this will be implicitly fixed by #842.