Exception: NQL::DataTypeError

Inherits:
Error
  • Object
show all
Defined in:
lib/nql/error.rb

Instance Method Summary collapse

Constructor Details

#initialize(text) ⇒ DataTypeError

Returns a new instance of DataTypeError.



9
10
11
# File 'lib/nql/error.rb', line 9

def initialize(text)
  super "#{text} must be a String"
end