mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-21 08:47:28 +01:00
Add warnings as another status code category
This commit is contained in:
1 parent
54e5ea7f15
commit
9c04249bfe
12 files changed
+67
-45
No files matched your search
@@ -20,7 +20,7 @@ import (
|
||||
)
|
||||
|
||||
var StatusList = [...]string{
|
||||
"$end of data",
|
||||
"!end of data",
|
||||
"$short read",
|
||||
"$short write",
|
||||
"?bad argument (length too short)",
|
||||
@@ -225,6 +225,7 @@ var Funcs = []string{
|
||||
"status.is_error() bool",
|
||||
"status.is_ok() bool",
|
||||
"status.is_suspension() bool",
|
||||
"status.is_warning() bool",
|
||||
|
||||
// ---- frame_config
|
||||
// Duration's upper bound is the maximum possible i64 value.
|
||||
|
||||
Reference in new issue
Block a user