Exception: Blumquist::Errors::UnsupportedType

Inherits:
Blumquist::Error 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("Unsupported type '#{type.to_s}' (#{%w{null, boolean, number, string, array object}.to_json} are supported)")
end