Exception: BandwidthIris::Errors::AgregateError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/bandwidth-iris/errors.rb

Overview

Agregate error class

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(errorss) ⇒ AgregateError

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of AgregateError.



25
26
27
28
# File 'lib/bandwidth-iris/errors.rb', line 25

def initialize errorss
  super "Multiple errors"
  @errors = errors
end

Instance Attribute Details

#errorsArray (readonly)

Returns errors.

Returns:

  • (Array)

    errors



22
23
24
# File 'lib/bandwidth-iris/errors.rb', line 22

def errors
  @errors
end