Exception: Rasti::Types::CompoundError

Inherits:
Error
  • Object
show all
Defined in:
lib/rasti/types/errors.rb

Direct Known Subclasses

MultiCastError

Instance Attribute Summary collapse

Instance Method Summary collapse

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 "#{message_title}\n#{message_lines}"
end

Instance Attribute Details

#errorsObject (readonly)

Returns the value of attribute errors.



28
29
30
# File 'lib/rasti/types/errors.rb', line 28

def errors
  @errors
end