mirror of
https://github.com/iceHtwoO/novaOS.git
synced 2026-04-16 20:22:26 +00:00
17 lines
285 B
Rust
17 lines
285 B
Rust
#![no_std]
|
|
|
|
use core::fmt::Debug;
|
|
use core::prelude::rust_2024::derive;
|
|
|
|
#[derive(Debug)]
|
|
pub enum NovaError {
|
|
General(&'static str),
|
|
Mailbox,
|
|
HeapFull,
|
|
EmptyHeapSegmentNotAllowed,
|
|
Misalignment,
|
|
InvalidGranularity,
|
|
Paging(&'static str),
|
|
OutOfMeomory,
|
|
}
|