Skip to content

Commit

Permalink
Add a specific error variant for missing configuration files
Browse files Browse the repository at this point in the history
  • Loading branch information
i-am-tom committed Feb 28, 2024
1 parent 1e6f53b commit 06c578d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rust-connector-sdk/src/connector.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ pub enum ParseError {
ParseError(LocatedError),
#[error("error validating configuration: {0}")]
ValidateError(InvalidNodes),
#[error("could not find configuration file: {0}")]
CouldNotFindConfiguration(PathBuf),
#[error("error processing configuration: {0}")]
IoError(#[from] std::io::Error),
#[error("error processing configuration: {0}")]
Expand Down

0 comments on commit 06c578d

Please sign in to comment.