Expand description
Error code definition used by ArceOS.
It provides two error types and the corresponding result types:
AxErrorandAxResult: A generic error type similar tostd::io::ErrorKind.LinuxErrorandLinuxResult: Linux specific error codes defined inerrno.h. It can be converted fromAxError.
Macros
- Convenience method to construct an
Err(AxError)type while printing a warning message. - Convenience method to construct an
AxErrortype while printing a warning message. - Ensure a condition is true. If it is not, return from the function with an error.
 
Enums
- The error type used by ArceOS.
 - Linux specific error codes defined in
errno.h. 
Type Aliases
- A specialized
Resulttype withLinuxErroras the error type.