Exception: AIXM::Error Abstract
Overview
This class is abstract.
Extension of StandardError which contains the subject of the error.
Direct Known Subclasses
Instance Attribute Summary collapse
-
#subject ⇒ Object
readonly
Returns the value of attribute subject.
Instance Method Summary collapse
-
#initialize(message, subject = nil) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(message, subject = nil) ⇒ Error
Returns a new instance of Error.
9 10 11 12 |
# File 'lib/aixm/errors.rb', line 9 def initialize(, subject=nil) @subject = subject super end |
Instance Attribute Details
#subject ⇒ Object (readonly)
Returns the value of attribute subject.
7 8 9 |
# File 'lib/aixm/errors.rb', line 7 def subject @subject end |