diff --git a/src/error.rs b/src/error.rs index d4a2004..f95a38c 100644 --- a/src/error.rs +++ b/src/error.rs @@ -1,5 +1,6 @@ /// A singular type for all errors that could happen when using this library. #[derive(Clone, Debug, PartialEq, Eq, PartialOrd, Ord)] +#[non_exhaustive] pub enum Error { InvalidFen, InvalidPosition,