Exception: Blumquist::Errors::UnsupportedType

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/blumquist/errors/unsupported_type.rb

Instance Method Summary collapse

Constructor Details

#initialize(type) ⇒ UnsupportedType

Returns a new instance of UnsupportedType.



4
5
6
# File 'lib/blumquist/errors/unsupported_type.rb', line 4

def initialize(type)
  super("Only null, boolean, number, string, array and object types are supported. Unsupported type #{type.to_s.to_json}")
end