Exception: CSV2Avro::SchemaValidationError
- Inherits:
-
StandardError
- Object
- StandardError
- CSV2Avro::SchemaValidationError
- Defined in:
- lib/csv2avro/datum_writer.rb
Instance Attribute Summary collapse
-
#errors ⇒ Object
readonly
Returns the value of attribute errors.
Instance Method Summary collapse
-
#initialize(schema_errors) ⇒ SchemaValidationError
constructor
A new instance of SchemaValidationError.
Constructor Details
#initialize(schema_errors) ⇒ SchemaValidationError
Returns a new instance of SchemaValidationError.
27 28 29 |
# File 'lib/csv2avro/datum_writer.rb', line 27 def initialize(schema_errors) @errors = schema_errors end |
Instance Attribute Details
#errors ⇒ Object (readonly)
Returns the value of attribute errors.
25 26 27 |
# File 'lib/csv2avro/datum_writer.rb', line 25 def errors @errors end |