pub fn io_error_value( error: &Error, message: impl AsRef<str>, category: Option<ErrorCategory>, ) -> VmValue
Lower an OS I/O failure to the stable script-facing value.