From 2c5491f82c852a8761be42dddad15aed7c19f530 Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Sat, 2 Dec 2023 20:12:09 -0500 Subject: [PATCH] Improve patch documentation --- src/patch.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/patch.rs b/src/patch.rs index c6e5ea9..f297b59 100755 --- a/src/patch.rs +++ b/src/patch.rs @@ -386,8 +386,11 @@ fn get_expansion_folder(id: u16) -> String { } #[derive(Debug)] +/// Errors emitted in the patching process pub enum PatchError { + /// Failed to read parts of the file InvalidPatchFile, + /// Failed to parse the patch format ParseError, }