Raised when trying to set a field not declared in a :class:`~mongoengine.Document` or an :class:`~mongoengine.EmbeddedDocument`. To avoid this behavior on data loading, you should set the :attr:`strict` to ``False`` in the :attr:`meta` dictionary.
| 62 | |
| 63 | |
| 64 | class FieldDoesNotExist(MongoEngineException): |
| 65 | """Raised when trying to set a field |
| 66 | not declared in a :class:`~mongoengine.Document` |
| 67 | or an :class:`~mongoengine.EmbeddedDocument`. |
| 68 | |
| 69 | To avoid this behavior on data loading, |
| 70 | you should set the :attr:`strict` to ``False`` |
| 71 | in the :attr:`meta` dictionary. |
| 72 | """ |
| 73 | |
| 74 | |
| 75 | class ValidationError(AssertionError): |