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¶ Queries — Model.get vs Model.get_or_none Model API Mutations — error handling patterns