From 1771b1e5acacd9ec78bceddaadf18fa9df1a41f4 Mon Sep 17 00:00:00 2001 From: harryeetsource <95581121+harryeetsource@users.noreply.github.com> Date: Wed, 5 Mar 2025 16:13:03 -0800 Subject: [PATCH] Update error.rs --- shadowx/src/error.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/shadowx/src/error.rs b/shadowx/src/error.rs index 6efbea6..ce7bfa7 100644 --- a/shadowx/src/error.rs +++ b/shadowx/src/error.rs @@ -145,6 +145,10 @@ pub enum ShadowError { /// This occurs when the system fails to remove a callback that was previously registered. #[error("Error removing a callback")] RemoveFailureCallback, + /// Represents an error when the process's active list entry is invalid, + /// such as when both the forward and backward pointers are null. + #[error("Invalid list entry encountered")] + InvalidListEntry, /// Error indicating that a failure occurred while restoring a callback. ///