Exception: Avro::SchemaValidator::ValidationError
- Inherits:
-
StandardError
- Object
- StandardError
- Avro::SchemaValidator::ValidationError
- Defined in:
- lib/avro-patches/schema_validator/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.
53 54 55 56 |
# File 'lib/avro-patches/schema_validator/schema_validator.rb', line 53 def initialize(result = Result.new) @result = result super end |
Instance Attribute Details
#result ⇒ Object (readonly)
Returns the value of attribute result.
51 52 53 |
# File 'lib/avro-patches/schema_validator/schema_validator.rb', line 51 def result @result end |
Instance Method Details
#to_s ⇒ Object
58 59 60 |
# File 'lib/avro-patches/schema_validator/schema_validator.rb', line 58 def to_s result.to_s end |