DBusMethodErrorResponse class

An error response to a method call.

Inheritance

Constructors

DBusMethodErrorResponse(String errorName, [List<DBusValue> values = const []])
Creates a new error response to a method call with the error errorName and optional values.
DBusMethodErrorResponse.accessDenied([String? message])
Creates a new error response indicating access was denied.
DBusMethodErrorResponse.authFailed([String? message])
Creates a new error response indicating authentication failed.
DBusMethodErrorResponse.failed([String? message])
Creates a new error response indicating the request failed.
DBusMethodErrorResponse.invalidArgs([String? message])
Creates a new error response indicating the arguments passed were invalid.
DBusMethodErrorResponse.notSupported([String? message])
Creates a new error response when accessing an unsupported feature.
DBusMethodErrorResponse.propertyReadOnly([String? message])
Creates a new error response when attempting to write to a read-only property.
DBusMethodErrorResponse.propertyWriteOnly([String? message])
Creates a new error response when attempting to read to a write-only property.
DBusMethodErrorResponse.timedOut([String? message])
Creates a new error response indicating the request timed out.
DBusMethodErrorResponse.timeout([String? message])
Creates a new error response indicating the request timed out.
DBusMethodErrorResponse.unknownInterface([String? message])
Creates a new error response indicating an unknown interface.
DBusMethodErrorResponse.unknownMethod([String? message])
Creates a new error response indicating an unknown method.
DBusMethodErrorResponse.unknownObject([String? message])
Creates a new error response indicating an unknown object.
DBusMethodErrorResponse.unknownProperty([String? message])
Creates a new error response indicating an unknown property.

Properties

errorName String
The name of the error that occurred.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
returnValues List<DBusValue>
Gets the value returned from this method or throws a DBusMethodResponseException if an error received.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
signature DBusSignature
Gets the signature of the returnValues.
no setterinherited
values List<DBusValue>
Additional values passed with the error.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited