Skip to content

Exceptions

Public exception types raised by Ferro’s ORM layer.

ModelDoesNotExist

Bases: LookupError

Raised when :meth:~ferro.models.Model.get finds no row for the primary key.

Attributes

model = model_cls instance-attribute

pk = pk instance-attribute

Functions

__init__(model_cls, pk)

See Also