Exception: Operations::Errors::InvalidFieldError
- Inherits:
-
BaseException
- Object
- StandardError
- BaseException
- Operations::Errors::InvalidFieldError
- Defined in:
- lib/operations/errors/invalid_field_error.rb
Instance Method Summary collapse
-
#initialize(missing_method, klass, expected_class) ⇒ InvalidFieldError
constructor
A new instance of InvalidFieldError.
Constructor Details
#initialize(missing_method, klass, expected_class) ⇒ InvalidFieldError
Returns a new instance of InvalidFieldError.
4 5 6 |
# File 'lib/operations/errors/invalid_field_error.rb', line 4 def initialize(missing_method, klass, expected_class) super("The field #{missing_method} for class #{klass} is not a #{expected_class}.") end |