mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-29 16:13:27 +00:00
Reorganize the codebase
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
888853a6de
commit
271a16d492
12
framework/jinux-frame/src/error.rs
Normal file
12
framework/jinux-frame/src/error.rs
Normal file
@ -0,0 +1,12 @@
|
||||
/// The error type which is returned from the APIs of this crate.
|
||||
#[derive(Clone, Copy, PartialEq, Eq, Debug)]
|
||||
pub enum Error {
|
||||
InvalidArgs,
|
||||
NoMemory,
|
||||
PageFault,
|
||||
AccessDenied,
|
||||
IoError,
|
||||
InvalidVmpermBits,
|
||||
NotEnoughResources,
|
||||
NoChild,
|
||||
}
|
Reference in New Issue
Block a user