yr.exception.YRTimeoutError#
- exception yr.exception.YRTimeoutError(code=ErrorCode.ERR_GET_OPERATION_FAILED, module_code=ModuleCode.RUNTIME, message: str = '', error_info=None, cause=None, stack_trace_infos=None)#
结构化超时错误。
YRTimeoutError继承自 yr.exception.YRRuntimeError 和 Python 内置TimeoutError。用户可以继续使用except TimeoutError或except RuntimeError捕获该异常,也可以使用except yr.YRTimeoutError读取结构化错误字段。