Exception: Blumquist::Errors::UnsupportedSchema
- Inherits:
-
Blumquist::Error
- Object
- RuntimeError
- Blumquist::Error
- Blumquist::Errors::UnsupportedSchema
- Defined in:
- lib/blumquist/errors/unsupported_schema.rb
Instance Method Summary collapse
-
#initialize(type) ⇒ UnsupportedSchema
constructor
A new instance of UnsupportedSchema.
Constructor Details
#initialize(type) ⇒ UnsupportedSchema
Returns a new instance of UnsupportedSchema.
4 5 6 |
# File 'lib/blumquist/errors/unsupported_schema.rb', line 4 def initialize(type) super("The top level object of the schema must be \"object\" (it is #{type.to_json})") end |