Skip to content

Commit 72ae6e3

Browse files
authored
Update for the new FileIOError error code (#276)
1 parent 44ada92 commit 72ae6e3

File tree

4 files changed

+17
-71
lines changed

4 files changed

+17
-71
lines changed

errors/CannotGetFileInfo.md

Lines changed: 0 additions & 21 deletions
This file was deleted.

errors/CannotReadFile.md

Lines changed: 0 additions & 21 deletions
This file was deleted.

errors/CannotWriteFile.md

Lines changed: 0 additions & 29 deletions
This file was deleted.

errors/FileIOError.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# `FileIOError`
2+
3+
## Cause
4+
5+
This error indicates that an I/O error occurred while compiling. This could be
6+
caused, for example, by trying to write a compilation artifact to a directory
7+
on a filesystem which has no space left on it, or by not having read or write
8+
permissions on an output directory. The error message should usually contain
9+
sufficient information to identify the specific issue.
10+
11+
## Fix
12+
13+
- If the error is due to having run out of space, try deleting or moving some
14+
files.
15+
- If the error is due to permissions issues, check that you are running the
16+
compiler as the user you intended, and try changing the ownership of the
17+
output directory to the intended user.

0 commit comments

Comments
 (0)