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.



36
37
38
39
# File 'lib/bandwidth-iris/errors.rb', line 36

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

Instance Attribute Details

#errorsArray (readonly)

Returns errors.

Returns:

  • (Array)

    errors



33
34
35
# File 'lib/bandwidth-iris/errors.rb', line 33

def errors
  @errors
end