Expand description
Error code definition used by ArceOS.
It provides two error types and the corresponding result types:
- AxErrorand- AxResult: A generic error type similar to- std::io::ErrorKind.
- LinuxErrorand- LinuxResult: Linux specific error codes defined in- errno.h. It can be converted from- AxError.
Macros
- Convenience method to construct anErr(AxError)type while printing a warning message.
- Convenience method to construct anAxErrortype 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 inerrno.h.
Type Aliases
- A specializedResulttype withLinuxErroras the error type.