ba8b493a31
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
11 lines
269 B
Python
11 lines
269 B
Python
"""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)."""
|