Exception: Avro::AvroTypeError

Inherits:
AvroError
  • Object
show all
Defined in:
lib/avro.rb

Instance Method Summary collapse

Constructor Details

#initialize(schm = nil, datum = nil, msg = nil) ⇒ AvroTypeError

Returns a new instance of AvroTypeError.



31
32
33
34
# File 'lib/avro.rb', line 31

def initialize(schm=nil, datum=nil, msg=nil)
  msg ||= "Not a #{schm}: #{datum}"
  super(msg)
end