Add subcription feature 4
This commit is contained in:
@@ -67,4 +67,14 @@ class SubscriptionUpdateFailed(PaymentException):
|
||||
class PaymentServiceError(PaymentException):
|
||||
"""General payment service error"""
|
||||
def __init__(self, message: str = "Payment service error"):
|
||||
super().__init__(message)
|
||||
|
||||
class PaymentMethodError(PaymentException):
|
||||
"""Exception raised when payment method operations fail"""
|
||||
def __init__(self, message: str = "Payment method operation failed"):
|
||||
super().__init__(message)
|
||||
|
||||
class CustomerUpdateFailed(PaymentException):
|
||||
"""Exception raised when customer update operations fail"""
|
||||
def __init__(self, message: str = "Customer update failed"):
|
||||
super().__init__(message)
|
||||
Reference in New Issue
Block a user