Wrap a kernel call that returns an arbitrary value. On exception, returns an Err with the given error code and message.
kernel error messages are automatically translated into user-friendly explanations when the error kind is KERNEL_OPERATION.
Wrap a kernel call that returns an arbitrary value. On exception, returns an Err with the given error code and message.
kernel error messages are automatically translated into user-friendly explanations when the error kind is KERNEL_OPERATION.