modelbox.FlowUnitError

函数 作用
构造方法 构造modelbox.FlowUnitError
get_description 获取异常的描述信息

构造方法

构造FlowUnitError对象。

args:

  • error (str) —— 具体的error描述

return:

modelbox.FlowUnitError

modelbox.FlowUnitError.get_description

获取异常的描述信息

args:

return:

str, 当前error的描述信息

example:

   ...
   error = modelbox.FlowUnitError("this is error")
   err_desc = error.get_description()
   print(error)

result:

"this is error"

©2022 ModelBox Team all right reserved,powered by Gitbook文件修订时间: 2022-09-16 08:17:12

results matching ""

    No results matching ""