Exception: Zelastic::Indexer::IndexingError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/zelastic/indexer.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(errors) ⇒ IndexingError

Returns a new instance of IndexingError.



8
9
10
11
# File 'lib/zelastic/indexer.rb', line 8

def initialize(errors)
  @errors = errors
  super("Errors indexing: #{errors.join(', ')}")
end

Instance Attribute Details

#errorsObject (readonly)

Returns the value of attribute errors.



6
7
8
# File 'lib/zelastic/indexer.rb', line 6

def errors
  @errors
end