Class: DBusError

DBusError(type, text)

An error that can be thrown from DBus Interface methods and property getters and setters to return the error to the client.

This class will also be thrown by ProxyInterface method calls when the interface method returns an error to the method call.

Constructor

new DBusError(type, text)

Construct a new DBusError with the given type and text.

Parameters:
Name Type Description
type string

The type of error. Must be a valid DBus member name.

text string

The error text. Will be seen by the client.

Source: