cdek.exceptions package

exception cdek.exceptions.CdekAuthException[исходный код]

Базовые классы: CdekException

Ошибка авторизации в API CDEK

exception cdek.exceptions.CdekException[исходный код]

Базовые классы: Exception

Базовое исключение для CDEK

static get_translation(code: str, message: str) str[исходный код]

Получить перевод ошибки

exception cdek.exceptions.CdekRequestException(message: str, status_code: int | None = None, response: Any | None = None)[исходный код]

Базовые классы: CdekException

Ошибка запроса к API CDEK

static get_translation(code: str, message: str) str[исходный код]

Получить перевод ошибки

Submodules

cdek.exceptions.cdek_auth_exception module

exception cdek.exceptions.cdek_auth_exception.CdekAuthException[исходный код]

Базовые классы: CdekException

Ошибка авторизации в API CDEK

cdek.exceptions.cdek_exception module

exception cdek.exceptions.cdek_exception.CdekException[исходный код]

Базовые классы: Exception

Базовое исключение для CDEK

static get_translation(code: str, message: str) str[исходный код]

Получить перевод ошибки

cdek.exceptions.cdek_request_exception module

exception cdek.exceptions.cdek_request_exception.CdekRequestException(message: str, status_code: int | None = None, response: Any | None = None)[исходный код]

Базовые классы: CdekException

Ошибка запроса к API CDEK

static get_translation(code: str, message: str) str[исходный код]

Получить перевод ошибки