pub fn write_error(
fs: &dyn Fs,
what: &str,
path: &Path,
err: &Error,
) -> CoreErrorExpand description
The error of a failed write at path: read_only_target when the OS
refused it as read only (denied), else io_error (what: err).