MeshFlow Core API / MeshError
Variable: MeshError
constMeshError:object
Defined in: types/types.ts:522
异常字典:汇总内核运行时的循环依赖、实例缺失等核心错误
Type Declaration
cycle
readonlycycle:"Circular dependency detected"="Circular dependency detected"
DuplicatePath
readonlyDuplicatePath: (path) =>string
Parameters
path
any
Returns
string
EngineIdRepeated
readonlyEngineIdRepeated:"engineID repeated"="engineID repeated"
EngineNotFound
readonlyEngineNotFound:"Engine not found."="Engine not found."
WrongId
readonlyWrongId:"Wrong id"="Wrong id"
Description
该枚举定义了 MeshFlow 在拓扑计算、引擎初始化及节点校验阶段可能抛出的标准化错误。 建议在逻辑层通过 try-catch 捕获并匹配这些错误常量,以实现精确的错误处理。