Exception: Avro::UnknownSchemaError
- Inherits:
-
SchemaParseError
- Object
- StandardError
- AvroError
- SchemaParseError
- Avro::UnknownSchemaError
- Defined in:
- lib/avro/schema.rb
Instance Attribute Summary collapse
-
#default_namespace ⇒ Object
readonly
Returns the value of attribute default_namespace.
-
#type_name ⇒ Object
readonly
Returns the value of attribute type_name.
Instance Method Summary collapse
-
#initialize(type, default_namespace) ⇒ UnknownSchemaError
constructor
A new instance of UnknownSchemaError.
Constructor Details
#initialize(type, default_namespace) ⇒ UnknownSchemaError
Returns a new instance of UnknownSchemaError.
626 627 628 629 630 |
# File 'lib/avro/schema.rb', line 626 def initialize(type, default_namespace) @type_name = type @default_namespace = default_namespace super("#{type.inspect} is not a schema we know about.") end |
Instance Attribute Details
#default_namespace ⇒ Object (readonly)
Returns the value of attribute default_namespace.
624 625 626 |
# File 'lib/avro/schema.rb', line 624 def default_namespace @default_namespace end |
#type_name ⇒ Object (readonly)
Returns the value of attribute type_name.
623 624 625 |
# File 'lib/avro/schema.rb', line 623 def type_name @type_name end |