Exception: Avro::Builder::SchemaError
- Inherits:
-
StandardError
- Object
- StandardError
- Avro::Builder::SchemaError
- Defined in:
- lib/avro/builder/errors.rb
Instance Method Summary collapse
-
#initialize(actual, expected) ⇒ SchemaError
constructor
A new instance of SchemaError.
Constructor Details
#initialize(actual, expected) ⇒ SchemaError
Returns a new instance of SchemaError.
42 43 44 |
# File 'lib/avro/builder/errors.rb', line 42 def initialize(actual, expected) super("expected schema '#{actual}' to define type '#{expected}'") end |