Exception: Avro::Builder::SchemaError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/avro/builder/errors.rb

Instance Method Summary collapse

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