Skip to content

Commit

Permalink
Update crates/stackable-operator/src/validation.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Techassi <[email protected]>
  • Loading branch information
nightkr and Techassi authored Aug 30, 2024
1 parent 1874aca commit f76649d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/stackable-operator/src/validation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ impl std::error::Error for Errors {}
pub enum Error {
#[snafu(transparent)]
Regex { source: RegexError },

#[snafu(display("input is {length} bytes long but must be no more than {max_length}"))]
TooLong { length: usize, max_length: usize },
}
Expand Down

0 comments on commit f76649d

Please sign in to comment.