diff --git a/app/exceptions/admin.py b/app/exceptions/admin.py index a6f39049..ee26fb6f 100644 --- a/app/exceptions/admin.py +++ b/app/exceptions/admin.py @@ -58,30 +58,6 @@ class UserStatusChangeException(BusinessLogicException): ) -class ShopVerificationException(BusinessLogicException): - """Raised when shop verification fails.""" - - def __init__( - self, - shop_id: int, - reason: str, - current_verification_status: bool | None = None, - ): - details = { - "shop_id": shop_id, - "reason": reason, - } - - if current_verification_status is not None: - details["current_verification_status"] = current_verification_status - - super().__init__( - message=f"Shop verification failed for shop {shop_id}: {reason}", - error_code="SHOP_VERIFICATION_FAILED", - details=details, - ) - - class AdminOperationException(BusinessLogicException): """Raised when admin operation fails."""