All payment errors derive from PaymentException (in
unipay_uz.core.exceptions). Each carries a code, a message, and optional
data, and exposes an as_dict() helper for serialising error responses.
DependencyError (subclasses ImportError) is raised when a framework's
optional dependencies are missing — e.g. calling a Django integration without
installing unipay-uz[django]. Check ahead of time with check_dependencies()
(see Installation).