Exception: NQL::DataTypeError
Instance Method Summary collapse
-
#initialize(text) ⇒ DataTypeError
constructor
A new instance of DataTypeError.
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 |