class nanomongo.errors.NanomongoError[source]

Base nanomongo error

class nanomongo.errors.ValidationError[source]

Raised when a field fails validation

class nanomongo.errors.ExtraFieldError[source]

Raised when a document has an undefined field

class nanomongo.errors.ConfigurationError[source]

Raised when a required value found to be not set during operation, or a Document class is registered more than once

class nanomongo.errors.IndexMismatchError[source]

Raised when a defined index does not match defined fields

class nanomongo.errors.UnsupportedOperation[source]

Raised when an unsupported opperation/parameters are used

class nanomongo.errors.DBRefNotSetError[source]

Raised when a DBRef getter is called on not-set DBRef field