Class: Syskit::PropertyUpdateError
- Defined in:
- lib/syskit/exceptions.rb
Instance Attribute Summary collapse
-
#property ⇒ Object
readonly
Returns the value of attribute property.
Instance Method Summary collapse
-
#initialize(error, property) ⇒ PropertyUpdateError
constructor
A new instance of PropertyUpdateError.
- #pretty_print(pp) ⇒ Object
Constructor Details
#initialize(error, property) ⇒ PropertyUpdateError
Returns a new instance of PropertyUpdateError
991 992 993 994 |
# File 'lib/syskit/exceptions.rb', line 991 def initialize(error, property) @property = property super(error, property.task_context) end |
Instance Attribute Details
#property ⇒ Object (readonly)
Returns the value of attribute property
989 990 991 |
# File 'lib/syskit/exceptions.rb', line 989 def property @property end |
Instance Method Details
#pretty_print(pp) ⇒ Object
996 997 998 999 |
# File 'lib/syskit/exceptions.rb', line 996 def pretty_print(pp) pp.text "#{self.class.name}: updating property #{property.name} failed with" failure_point.pretty_print(pp) end |