feat(slice-3): storefronts domain — create + membership + INV-4 guard (§6.5)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-06-10 22:33:57 -07:00
parent 1b40bde4a0
commit ba8b493a31
5 changed files with 159 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
"""storefronts domain errors."""
from __future__ import annotations
class StorefrontsError(Exception):
"""Base for storefronts-domain errors."""
class AlreadyOwnsStorefront(StorefrontsError):
"""INV-4: the account already has its one storefront (PUC-7)."""