Exception: DBus::Error
- Inherits:
-
Exception
- Object
- Exception
- DBus::Error
- Defined in:
- lib/dbus/message.rb
Overview
A helper exception on errors
Instance Attribute Summary collapse
-
#dbus_message ⇒ Object
readonly
Returns the value of attribute dbus_message.
Instance Method Summary collapse
-
#initialize(msg) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(msg) ⇒ Error
Returns a new instance of Error.
276 277 278 279 |
# File 'lib/dbus/message.rb', line 276 def initialize(msg) super(msg.error_name + ": " + msg.params.join(", ")) @dbus_message = msg end |
Instance Attribute Details
#dbus_message ⇒ Object (readonly)
Returns the value of attribute dbus_message.
275 276 277 |
# File 'lib/dbus/message.rb', line 275 def @dbus_message end |