Changeset View
Changeset View
Standalone View
Standalone View
python_modules/dagster/dagster/core/errors.py
Show First 20 Lines • Show All 454 Lines • ▼ Show 20 Lines | |||||
class HookExecutionError(DagsterUserCodeExecutionError): | class HookExecutionError(DagsterUserCodeExecutionError): | ||||
""" Error raised during the execution of a user-defined hook. """ | """ Error raised during the execution of a user-defined hook. """ | ||||
class DagsterImportError(DagsterError): | class DagsterImportError(DagsterError): | ||||
""" Import error raised while importing user-code. """ | """ Import error raised while importing user-code. """ | ||||
class ExecutableError(DagsterUserCodeExecutionError): | class JobError(DagsterUserCodeExecutionError): | ||||
"""Errors raised during the execution of user-provided functions for a defined Executable.""" | """Errors raised during the execution of user-provided functions for a defined Job.""" | ||||
class DagsterAddressIOError(DagsterError): | class DagsterAddressIOError(DagsterError): | ||||
""" IO error raised while operating data assets. """ | """ IO error raised while operating data assets. """ | ||||
def __init__(self, msg): | def __init__(self, msg): | ||||
super(DagsterAddressIOError, self).__init__(msg if msg else "") | super(DagsterAddressIOError, self).__init__(msg if msg else "") | ||||
class DagsterUnknownStepStateError(DagsterError): | class DagsterUnknownStepStateError(DagsterError): | ||||
"""When pipeline execution complete with steps in an unknown state""" | """When pipeline execution complete with steps in an unknown state""" | ||||
class DagsterIncompleteExecutionPlanError(DagsterError): | class DagsterIncompleteExecutionPlanError(DagsterError): | ||||
"""When pipeline execution completes with an active execution in an incomplete state""" | """When pipeline execution completes with an active execution in an incomplete state""" |