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.



615
616
617
618
# File 'lib/avro/schema.rb', line 615

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.



613
614
615
# File 'lib/avro/schema.rb', line 613

def type_name
  @type_name
end