pub fn map_swap_error(e: &Error) -> ErrorId
Map errors from atomic swap/symlink replacement to stable ErrorId.
ErrorId