You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let msg = format!("The specified path '{}' does not exist", path);
45
46
write!(f,"{}", msg)
46
47
}
47
-
CommandError::InvalidUrl => {
48
-
write!(f,"Command error => The specified URL is invalid. Please ensure the URL is correctly formatted, including the scheme (e.g. 'http://', 'https://'). For example: https://example.com")
48
+
CommandValidationError::InvalidUrl => {
49
+
write!(f,"{prefix} The specified URL is invalid. Please ensure the URL is correctly formatted, including the scheme (e.g. 'http://', 'https://'). For example: https://example.com")
49
50
}
50
-
CommandError::InvalidHashSum => {
51
+
CommandValidationError::InvalidHashSum => {
51
52
write!(
52
53
f,
53
-
"Command error => The specified hash sum is not a valid hexadecimal digit"
54
+
"{prefix} The specified hash sum is not a valid hexadecimal digit"
0 commit comments