Exception: QML::CppError
- Inherits:
-
StandardError
- Object
- StandardError
- QML::CppError
- Defined in:
- lib/qml/errors.rb
Instance Attribute Summary collapse
-
#class_name ⇒ Object
readonly
Returns the value of attribute class_name.
-
#raw_message ⇒ Object
readonly
Returns the value of attribute raw_message.
Instance Method Summary collapse
-
#initialize(classname, message) ⇒ CppError
constructor
A new instance of CppError.
Constructor Details
#initialize(classname, message) ⇒ CppError
Returns a new instance of CppError.
20 21 22 23 24 |
# File 'lib/qml/errors.rb', line 20 def initialize(classname, ) super("<#{classname}> #{}") @class_name = classname @raw_message = end |
Instance Attribute Details
#class_name ⇒ Object (readonly)
Returns the value of attribute class_name.
18 19 20 |
# File 'lib/qml/errors.rb', line 18 def class_name @class_name end |
#raw_message ⇒ Object (readonly)
Returns the value of attribute raw_message.
18 19 20 |
# File 'lib/qml/errors.rb', line 18 def @raw_message end |