The `IOreturn` value can be passed to the c library function `mach_error_string` to provide the error string for the error that was raised. `mach_error_string` is defined in [mach_error.h](https://opensource.apple.com/source/xnu/xnu-2422.1.72/libsyscall/mach/mach/mach_error.h.auto.html) `char *mach_error_string(mach_error_t error_value);` and a `IOReturn` is a version of `mach_error_t`
Activity
mcuee commentedon Jul 31, 2021
@hardkrash Please help to create a pull request. Thanks.
Youw commentedon Mar 12, 2023
Oh, this is done as part of #314.
Available in the latest release.