moo.core.exceptions.AccessError

exception moo.core.exceptions.AccessError(accessor, access_str, subject)

Subclass of Python’s PermissionError raised by model-layer permission checks (Object.save(), Verb.__call__(), etc.) when the caller lacks the required permission. Default message: <accessor> is not allowed to '<action>' on <subject>. The task runner catches PermissionError automatically.