Update error.rs

This commit is contained in:
harryeetsource
2025-03-05 16:13:03 -08:00
committed by GitHub
parent 8889e62145
commit 1771b1e5ac

View File

@@ -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.
///