Exception: CriteriaOperator::NotImplementedError

Inherits:
Error
  • Object
show all
Defined in:
lib/criteria_operator/exceptions.rb

Overview

Exception class for unimplemented functions in abstract classes.

Instance Method Summary collapse

Instance Method Details

#messageString

Overrides the default message with a hint regarding the abstract class instantiation.

Returns:

  • (String)

    the error message



11
12
13
14
# File 'lib/criteria_operator/exceptions.rb', line 11

def message
  'The function that was called is not implemented. '\
  'Probably the containing class is abstract but was instantiated.'
end