Добавлен провайдер доставки CSE: SOAP-адаптер (Calc + SaveDocuments), маршрутизация init-payment по провайдеру, обобщение tariff_code до строки, география CSE в cities_map
Deploy / deploy (push) Failing after 52s
Deploy / deploy (push) Failing after 52s
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
"""CSE adapter error hierarchy."""
|
||||
|
||||
from app.adapters.delivery_providers.base import (
|
||||
ProviderClientError,
|
||||
ProviderRequestError,
|
||||
)
|
||||
|
||||
|
||||
class CSEClientError(ProviderClientError):
|
||||
"""Raised when a CSE request fails for temporary or provider-side reasons."""
|
||||
|
||||
|
||||
class CSERequestError(CSEClientError, ProviderRequestError):
|
||||
"""Raised when CSE rejects request data as invalid."""
|
||||
|
||||
|
||||
class CSEMappingError(ValueError):
|
||||
"""Raised when a CSE SOAP response cannot be mapped."""
|
||||
Reference in New Issue
Block a user