Exception: Rasti::Types::CompoundError
- Defined in:
- lib/rasti/types/errors.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#errors ⇒ Object
readonly
Returns the value of attribute errors.
Instance Method Summary collapse
-
#initialize(errors) ⇒ CompoundError
constructor
A new instance of CompoundError.
Constructor Details
#initialize(errors) ⇒ CompoundError
Returns a new instance of CompoundError.
30 31 32 33 |
# File 'lib/rasti/types/errors.rb', line 30 def initialize(errors) @errors = errors super "#{}\n#{}" end |
Instance Attribute Details
#errors ⇒ Object (readonly)
Returns the value of attribute errors.
28 29 30 |
# File 'lib/rasti/types/errors.rb', line 28 def errors @errors end |