mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-22 00:47:28 +01:00
Add an "invalid I/O operation" error code.
This commit is contained in:
1 parent
b6a079fd3e
commit
3099991d7f
5 files changed
+27
-20
No files matched your search
@@ -41,6 +41,7 @@ var StatusList = [...]Status{
|
||||
{t.IDError, "bad receiver"},
|
||||
{t.IDError, "bad argument"},
|
||||
{t.IDError, "initializer not called"},
|
||||
{t.IDError, "invalid I/O operation"},
|
||||
{t.IDError, "closed for writes"}, // TODO: is this unused? Should callee or caller check closed-ness?
|
||||
{t.IDError, "unexpected EOF"}, // Used if reading when closed == true.
|
||||
{t.IDSuspension, "short read"}, // Used if reading when closed == false.
|
||||
|
||||
Reference in new issue
Block a user