We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
.ovpn
1 parent 689bd8b commit 78d866aCopy full SHA for 78d866a
2 files changed
nmrs/src/core/ovpn_parser/error.rs
@@ -12,6 +12,10 @@ pub enum OvpnParseError {
12
arg: String,
13
line: usize,
14
},
15
+ MissingArgument {
16
+ key: String,
17
+ line: usize,
18
+ },
19
InvalidContinuation {
20
21
@@ -45,6 +49,9 @@ impl fmt::Display for OvpnParseError {
45
49
"invalid argument '{arg}' for directive '{key}' at line {line}"
46
50
)
47
51
}
52
+ OvpnParseError::MissingArgument { key, line } => {
53
+ write!(f, "missing argument for directive '{key}' at line {line}")
54
+ }
48
55
OvpnParseError::InvalidContinuation { line } => {
56
write!(f, "invalid continuation at line {line}")
57
0 commit comments