Gambas Documentation - /comp/gb.dbus/dbusobserver/error

/comp/gb.dbus/dbusobserver/error

# DBusObserver.Error (gb.dbus)

Sub Error ( [ Error As String, Type As String ] )

Reply to a message with an error message.

- Error is the error message. It is optional, but you are welcome to always provide an error message.

- Type is the error type. By default, it is `"org.freedesktop.DBus.Error.Failed"`. See the DBus documentation for the list of allowed error types.