Add warnings as another status code category

This commit is contained in:
Nigel Tao committed 2018-08-26 23:22:45 +10:00
1 parent 54e5ea7f15
commit 9c04249bfe
12 files changed
+67 -45

No files matched your search

+2 -1
View File
@@ -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.