Exceptions¶
All library exceptions inherit from AxlToolkitError, making it easy to
catch any library error with a single except clause.
Hierarchy¶
AxlToolkitError
├── AXLAuthenticationError
├── AXLConnectionError
├── AXLError
│ ├── AXLNotFoundError
│ ├── AXLDuplicateError
│ ├── AXLValidationError
│ └── AXLSQLError
│ └── AXLSQLInjectionError
├── SXMLError
│ ├── RISPortError
│ ├── PerfMonError
│ ├── ServiceabilityError
│ └── LogCollectionError
├── PAWSError
└── WebdialerError
Reference¶
Exception hierarchy for axltoolkit.
All exceptions raised by the library inherit from :class:AxlToolkitError,
making it easy to catch any library error with a single except clause::
try:
result = client.get_phone(name="SEP001122334455")
except AxlToolkitError as e:
print(f"AXL operation failed: {e}")
AxlToolkitError
¶
Bases: Exception
Base exception for all axltoolkit errors.
AXLAuthenticationError
¶
Bases: AxlToolkitError
Raised when authentication with the UCM server fails (HTTP 401).
AXLConnectionError
¶
Bases: AxlToolkitError
Raised when the connection to the UCM server cannot be established.
AXLError
¶
AXLError(message: str, *, fault_code: str | None = None, fault_message: str | None = None, axl_error_code: int | None = None, original_exception: Exception | None = None)
Bases: AxlToolkitError
Raised when an AXL SOAP operation returns a fault.
Attributes:
| Name | Type | Description |
|---|---|---|
fault_code |
The AXL fault code string (e.g. |
|
fault_message |
The human-readable fault detail message. |
|
axl_error_code |
Numeric AXL error code, if available. |
|
original_exception |
The underlying |