Rc enum

用于标识用户请求响应的状态,它包含用户操作成功或异常等几个方面的状态编号。当存在多个候选的 响应结果时,每个响应结果内都必须包含相应的rc码,便于客户端对每个响应包进行识别和操作

Inheritance
Available extensions

Values

success → const Rc

操作成功

error → const Rc

输入异常

systemError → const Rc

系统内部异常

operateFailure → const Rc

业务操作失败,没搜索到结果或信源异常

cannotHandle → const Rc

文本没有匹配的技能场景,技能不理解或不能处理该文本

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

parse(int? value) Rc

Constants

values → const List<Rc>
A constant List of the values in this enum, in order of their declaration.