posix read can return error.IsDir

This commit is contained in:
Andrew Kelley
2018-06-16 19:54:16 -04:00
parent eae9634ac9
commit 3ee4d23ebd
2 changed files with 10 additions and 2 deletions

View File

@@ -639,6 +639,7 @@ const ParseFormValueError = error{
Unexpected,
InvalidDebugInfo,
EndOfFile,
IsDir,
OutOfMemory,
};