pdstools.infinity.internal._exceptions¶
Attributes¶
Exceptions¶
Common base class for all non-exit exceptions. |
|
Common base class for all non-exit exceptions. |
|
Common base class for all non-exit exceptions. |
|
Common base class for all non-exit exceptions. |
|
Request contains invalid inputs |
|
Internal server error |
|
Custom exception for Pega MLOps errors. |
|
No monitoring info available. |
|
Shadow CC already exists. |
|
The prediction studio export is not properly configured |
|
Invalid request. |
|
Common base class for all non-exit exceptions. |
Functions¶
|
Module Contents¶
- exception PegaException(base_url: str, endpoint: str, params: Dict, response: httpx.Response, override_message: str | None = None)¶
Bases:
Exception
Common base class for all non-exit exceptions.
- Parameters:
- base_url¶
- endpoint¶
- params¶
- response¶
- override_message = None¶
- __str__()¶
Return str(self).
- exception MultipleErrors(details)¶
Bases:
Exception
Common base class for all non-exit exceptions.
- details¶
- __str__()¶
Return str(self).
- exception APITimeoutError(request)¶
Bases:
Exception
Common base class for all non-exit exceptions.
- request¶
- __str__()¶
Return str(self).
- exception APIConnectionError(request)¶
Bases:
Exception
Common base class for all non-exit exceptions.
- request¶
- __str__()¶
Return str(self).
- exception InvalidInputs(base_url: str, endpoint: str, params: Dict, response: httpx.Response, override_message: str | None = None)¶
Bases:
PegaException
Request contains invalid inputs
- exception InternalServerError(base_url: str, endpoint: str, params: Dict, response: httpx.Response, override_message: str | None = None)¶
Bases:
PegaException
Internal server error
- exception NoMonitoringInfo(base_url: str, endpoint: str, params: Dict, response: httpx.Response, override_message: str | None = None)¶
Bases:
InvalidInputs
No monitoring info available.
- Parameters:
- __str__()¶
Return str(self).
- exception ShadowCCExists(base_url: str, endpoint: str, params: Dict, response: httpx.Response, override_message: str | None = None)¶
Bases:
PegaException
Shadow CC already exists.
- Parameters:
- __str__()¶
Return str(self).
- exception NoMonitoringExportError(base_url: str, endpoint: str, params: Dict, response: httpx.Response, override_message: str | None = None)¶
Bases:
PegaException
The prediction studio export is not properly configured
- Parameters:
- __str__()¶
Return str(self).
- exception InvalidRequest(base_url: str, endpoint: str, params: Dict, response: httpx.Response, override_message: str | None = None)¶
Bases:
PegaException
Invalid request.
- Parameters:
- __str__()¶
Return str(self).
- exception IncompatiblePegaVersionError(minimum_supported_version: str, functionality_description: str | None = None)¶
Bases:
PegaException
Common base class for all non-exit exceptions.
- minimum_supported_version¶
- functionality_description = None¶
- __str__()¶
Return str(self).
- error_map¶
- handle_pega_exception(base_url: httpx.URL | str, endpoint: str, params: Dict, response: httpx.Response) PegaException | Exception ¶
- Parameters:
- Return type:
Union[PegaException, Exception]