Exception: Avro::AvroTypeError
- Defined in:
- lib/avro.rb
Instance Method Summary collapse
-
#initialize(schm = nil, datum = nil, msg = nil) ⇒ AvroTypeError
constructor
A new instance of AvroTypeError.
Constructor Details
#initialize(schm = nil, datum = nil, msg = nil) ⇒ AvroTypeError
Returns a new instance of AvroTypeError.
30 31 32 33 |
# File 'lib/avro.rb', line 30 def initialize(schm=nil, datum=nil, msg=nil) msg ||= "Not a #{schm.to_s}: #{datum}" super(msg) end |