Skip to content

Commit e39f622

Browse files
committed
refactor: Remove unused error states from crate::error::Error (#446)
## Description Some errors expressed by the crate's Error enum are not used anywhere and can therefore be deleted.
1 parent d4ff5f2 commit e39f622

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/error.rs

-9
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,6 @@ pub enum Error {
2727
#[error("RoleGroup [{role_group}] for Role [{role}] is missing. This may happen after custom resource changes. Will requeue.")]
2828
MissingRoleGroup { role: String, role_group: String },
2929

30-
#[error("Environment variable error: {source}")]
31-
EnvironmentVariableError {
32-
#[from]
33-
source: std::env::VarError,
34-
},
35-
36-
#[error("Invalid name for resource: {errors:?}")]
37-
InvalidName { errors: Vec<String> },
38-
3930
#[error(
4031
"A required File is missing. Not found in any of the following locations: {search_path:?}"
4132
)]

0 commit comments

Comments
 (0)