juju.errors

Summary

JujuAPIError
 
JujuAuthError
 
JujuConnectionError
 
JujuEntityNotFoundError
Exception indicating that an entity was not found in the state. It was expected that the entity was found in state and this is a terminal condition. To fix this condition, you should disconnect and reconnect to ensure that any missing entities are correctly picked up.
JujuError
 
JujuRedirectException
Exception indicating that a redirection was requested

Reference

exception juju.errors.JujuAPIError(result)[source]

Bases: juju.errors.JujuError

exception juju.errors.JujuAuthError[source]

Bases: juju.errors.JujuConnectionError

exception juju.errors.JujuConnectionError[source]

Bases: ConnectionError, juju.errors.JujuError

exception juju.errors.JujuEntityNotFoundError(entity_name, entity_types=None)[source]

Bases: juju.errors.JujuError

Exception indicating that an entity was not found in the state. It was expected that the entity was found in state and this is a terminal condition. To fix this condition, you should disconnect and reconnect to ensure that any missing entities are correctly picked up.

exception juju.errors.JujuError(*args, **kwargs)[source]

Bases: Exception

exception juju.errors.JujuRedirectException(redirect_info, follow_redirect=True)[source]

Bases: Exception

Exception indicating that a redirection was requested

ca_cert
endpoints