Skip to main content

dprint_plugin_dockerfile/
error.rs

1pub use monch::ParseErrorFailureError as ParseError;
2
3/// An error that can occur while formatting a Dockerfile.
4#[derive(Debug, thiserror::Error)]
5pub enum FormatError {
6  /// The input could not be parsed as a Dockerfile.
7  #[error(transparent)]
8  Parse(#[from] ParseError),
9}