Documentation
¶
Overview ¶
Package dbuscli turns D-Bus call failures into the CLI's user-facing messages.
A method's error reply whose name contains ServiceUnknown means the shell is down, anything else reads "Failed to <op>: <message>". For a property read, ServiceUnknown and NameHasNoOwner mean down, NoReply and Timeout a timeout, and other org.freedesktop.DBus 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.