canonical / charmed-kubeflow-chisme

Shared Utilities used across Charmed Kubeflow
Apache License 2.0
1 stars 4 forks source link

feat: add custom exception for ErrorStatus with message #39

Closed DnPlas closed 1 year ago

DnPlas commented 1 year ago

This exception can be raised by the charm code when the unit has to go in ErrorStatus mode and the message displayed in juju status has to be informative.

For usage example, please refer to canonical/training-operator#83