Exception: Metacrunch::Elasticsearch::DestinationError
- Inherits:
-
StandardError
- Object
- StandardError
- Metacrunch::Elasticsearch::DestinationError
- Defined in:
- lib/metacrunch/elasticsearch/destination.rb
Instance Attribute Summary collapse
-
#errors ⇒ Object
readonly
Returns the value of attribute errors.
Instance Method Summary collapse
-
#initialize(msg = nil, errors:) ⇒ DestinationError
constructor
A new instance of DestinationError.
Constructor Details
#initialize(msg = nil, errors:) ⇒ DestinationError
Returns a new instance of DestinationError.
42 43 44 |
# File 'lib/metacrunch/elasticsearch/destination.rb', line 42 def initialize(msg = nil, errors:) @errors = errors end |
Instance Attribute Details
#errors ⇒ Object (readonly)
Returns the value of attribute errors.
40 41 42 |
# File 'lib/metacrunch/elasticsearch/destination.rb', line 40 def errors @errors end |