Documentation
¶
Overview ¶
Package dbuscli turns D-Bus call failures into the CLI's user-facing messages (lys-shell/src/cli/dbus.rs's format_error).
zbus surfaces a method's error reply as a MethodError: a name containing ServiceUnknown means the shell is down, anything else reads "Failed to <op>: <message>". A property read fails with an fdo::Error instead: ServiceUnknown and NameHasNoOwner mean down, NoReply and Timeout a timeout, and other fdo errors print their name before the message.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatError ¶
FormatError describes err from calling service's method for op.
func FormatPropertyError ¶
FormatPropertyError describes err from reading service's property for op.