Expand description
Kernel error codes and constructors.
The kernel never panics and never returns a bare string: every failure is a
KernelError with one of the codes in code, so the host can branch on it.
Modules§
- code
- The closed set of kernel error codes.
Functions§
- err
- Build a
KernelErrorwith neitherseqnorstep_id. - err_seq
- Build a
KernelErrortagged with the seq it concerns. - err_
step - Build a
KernelErrortagged with the step it concerns.
Type Aliases§
- KResult
- Result alias every kernel function returns; the error is always a
KernelError.