Exception: Mongoid::Errors::InvalidExpressionOperator
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
InvalidQuery ,
MongoidError ,
StandardError
|
|
Instance Chain:
self,
InvalidQuery ,
MongoidError ,
StandardError
|
|
Inherits: |
Mongoid::Errors::InvalidQuery
|
Defined in: | lib/mongoid/errors/invalid_expression_operator.rb |
Overview
Raised when invalid expression-level operator is passed to an embedded matcher.
Constant Summary
MongoidError
- Inherited
Class Method Summary
-
.new(operator) ⇒ InvalidExpressionOperator
constructor
Internal use only
Internal use only
Creates the exception.
InvalidQuery
- Inherited
.new | Create the new invalid query error. |
.truncate_expr | Stringifies the argument using #inspect and truncates the result to about 100 characters. |
Instance Attribute Summary
Instance Method Summary
MongoidError
- Inherited
#compose_message | Compose the message. |
#translate | Given the key of the specific error and the options hash, translate the message. |
#translate_problem | Create the problem. |
#translate_resolution | Create the resolution. |
#translate_summary | Create the summary. |
Instance Attribute Details
#operator ⇒ String (readonly)
# File 'lib/mongoid/errors/invalid_expression_operator.rb', line 25
attr_reader :operator