Exception: Avro::UnknownSchemaError

Inherits:
SchemaParseError show all
Defined in:
lib/avro/schema.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(type) ⇒ UnknownSchemaError

Returns a new instance of UnknownSchemaError.



387
388
389
390
# File 'lib/avro/schema.rb', line 387

def initialize(type)
  @type_name = type
  super("#{type.inspect} is not a schema we know about.")
end

Instance Attribute Details

#type_nameObject (readonly)

Returns the value of attribute type_name.



385
386
387
# File 'lib/avro/schema.rb', line 385

def type_name
  @type_name
end