blob: fa28b1f05b7a0579b68ebcc24d49fa1cdf5abf3d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
#[derive(Debug, thiserror::Error)]
pub enum Error {
/// Any error originating from the `kube-rs` crate
#[error("Kubernetes reported error: {0}")]
KubeError(#[from] kube::Error),
/// Error in serializing the resticprofile config to TOML
#[error("Error creating resticprofile config: {0}")]
TomlSerializeError(#[from] toml::ser::Error),
/// Missing Namespace
#[error("Namespace not found")]
MissingNamespace,
}
|