Exception: Avro::SchemaValidator::ValidationError
- Inherits:
-
StandardError
- Object
- StandardError
- Avro::SchemaValidator::ValidationError
- Defined in:
- lib/avro/schema_validator.rb
Instance Attribute Summary collapse
-
#result ⇒ Object
readonly
Returns the value of attribute result.
Instance Method Summary collapse
-
#initialize(result = Result.new) ⇒ ValidationError
constructor
A new instance of ValidationError.
- #to_s ⇒ Object
Constructor Details
#initialize(result = Result.new) ⇒ ValidationError
Returns a new instance of ValidationError.
61 62 63 64 |
# File 'lib/avro/schema_validator.rb', line 61 def initialize(result = Result.new) @result = result super end |
Instance Attribute Details
#result ⇒ Object (readonly)
Returns the value of attribute result.
59 60 61 |
# File 'lib/avro/schema_validator.rb', line 59 def result @result end |
Instance Method Details
#to_s ⇒ Object
66 67 68 |
# File 'lib/avro/schema_validator.rb', line 66 def to_s result.to_s end |