mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-09-21 18:57:33 +03:00
Remove unused enum variant.
This commit is contained in:
parent
915f539a4e
commit
336ab101c8
@ -112,9 +112,6 @@ pub enum RunnerError {
|
||||
TemplateVariableNotDefined {
|
||||
name: String,
|
||||
},
|
||||
VariableNotDefined {
|
||||
name: String,
|
||||
},
|
||||
InvalidJson {
|
||||
value: String,
|
||||
},
|
||||
|
@ -33,7 +33,6 @@ impl Error for runner::Error {
|
||||
RunnerError::InvalidUrl(..) => "Invalid URL".to_string(),
|
||||
RunnerError::InvalidUrlPrefix(..) => "Invalid URL".to_string(),
|
||||
RunnerError::TemplateVariableNotDefined { .. } => "Undefined variable".to_string(),
|
||||
RunnerError::VariableNotDefined { .. } => "Undefined variable".to_string(),
|
||||
RunnerError::HttpConnection { .. } => "HTTP connection".to_string(),
|
||||
RunnerError::CouldNotResolveProxyName => "HTTP connection".to_string(),
|
||||
RunnerError::CouldNotResolveHost(_) => "HTTP connection".to_string(),
|
||||
@ -137,9 +136,6 @@ impl Error for runner::Error {
|
||||
};
|
||||
format!("actual: {actual}\nexpected: {expected}{additional}")
|
||||
}
|
||||
RunnerError::VariableNotDefined { name } => {
|
||||
format!("you must set the variable {name}")
|
||||
}
|
||||
RunnerError::UnrenderableVariable { name, value } => {
|
||||
format!("variable <{name}> with value {value} can not be rendered")
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user