mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-25 16:55:11 +01:00
Add more error codes for check_wuffs_version
This commit is contained in:
1 parent
87ab36f8c4
commit
1211e16e3c
16 files changed
+492
-320
No files matched your search
@@ -39,9 +39,11 @@ var StatusList = [...]Status{
|
||||
// TODO: sort these somehow, when the list has stabilized?
|
||||
{0, "ok"},
|
||||
{t.IDError, "bad wuffs version"},
|
||||
{t.IDError, "bad sizeof receiver"},
|
||||
{t.IDError, "bad receiver"},
|
||||
{t.IDError, "bad argument"},
|
||||
{t.IDError, "initializer not called"},
|
||||
{t.IDError, "check_wuffs_version not called"},
|
||||
{t.IDError, "check_wuffs_version called twice"},
|
||||
{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.
|
||||
|
||||
Reference in new issue
Block a user