Enum dockerfile_parser::Error [−][src]
pub enum Error {
ParseError {
source: Error<Rule>,
},
GenericParseError {
message: String,
},
UnescapeError {
source: Error,
},
UnknownParseError,
ReadError {
source: Error,
},
ConversionError {
from: String,
to: String,
},
}
Expand description
A Dockerfile parsing error.
Variants
ParseError
GenericParseError
Fields
message: String
UnescapeError
Fields
source: Error
UnknownParseError
ReadError
Fields
source: Error
ConversionError
Trait Implementations
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
👎 Deprecated since 1.33.0:
replaced by Error::source, which can support downcasting
The lower-level source of this error, if any. Read more