Exception: Avro::UnknownSchemaError
- Inherits:
-
SchemaParseError
- Object
- StandardError
- AvroError
- SchemaParseError
- Avro::UnknownSchemaError
- Defined in:
- lib/avro/schema.rb
Instance Attribute Summary collapse
-
#type_name ⇒ Object
readonly
Returns the value of attribute type_name.
Instance Method Summary collapse
-
#initialize(type) ⇒ UnknownSchemaError
constructor
A new instance of UnknownSchemaError.
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_name ⇒ Object (readonly)
Returns the value of attribute type_name.
613 614 615 |
# File 'lib/avro/schema.rb', line 613 def type_name @type_name end |