kedro.framework.cli.utils.KedroCliError

class kedro.framework.cli.utils.KedroCliError(message)[source]

Kedro CLI 生成的异常。

用户应在构造函数中传递适当的消息。

COOKIECUTTER_EXCEPTIONS_PREFIX = 'cookiecutter.exceptions'
VERBOSE_ERROR = False
VERBOSE_EXISTS = True
args
exit_code = 1

此异常的退出代码。

format_message()[source]
Return type:

str

show(file=None)[source]
Return type:

with_traceback()

Exception.with_traceback(tb) – 将self.__traceback__设置为tb并返回self。