Exceptions
Exceptions raised by the hostedpi module are documented here.
They can be imported from hostedpi.exc, for example:
from hostedpi.exc import HostedPiException
- class hostedpi.exc.HostedPiException[source]
Bases:
ExceptionBase class for all exceptions in the hostedpi module
- class hostedpi.exc.MythicAuthenticationError[source]
Bases:
HostedPiExceptionException raised when authentication fails
- class hostedpi.exc.HostedPiUserError[source]
Bases:
HostedPiExceptionBase exception for user errors, such as invalid input or configuration issues
- class hostedpi.exc.HostedPiValidationError[source]
Bases:
HostedPiUserErrorException raised for validation errors, such as invalid data formats or missing required fields
- class hostedpi.exc.HostedPiServerError[source]
Bases:
HostedPiExceptionException raised for server errors, such as API errors or server-side issues
- class hostedpi.exc.HostedPiInvalidParametersError[source]
Bases:
HostedPiServerError,HostedPiUserErrorException raised for invalid parameters in API requests or server operations
- class hostedpi.exc.HostedPiNotAuthorizedError[source]
Bases:
HostedPiServerErrorException raised when the user is not authorized to perform a specific action or access a resource
- class hostedpi.exc.HostedPiOutOfStockError[source]
Bases:
HostedPiServerErrorException raised when no servers with the required specification are available
- class hostedpi.exc.HostedPiProvisioningError[source]
Bases:
HostedPiServerErrorException raised when an action cannot be performed because the Pi is still being provisioned
- class hostedpi.exc.HostedPiNameExistsError[source]
Bases:
HostedPiServerErrorException raised when a Pi with the specified name already exists