Module runflow.errors

Runflow errors.

Expand source code
"""Runflow errors."""


class RunflowError(Exception):
    """Base Runflow error."""


class RunflowSyntaxError(RunflowError):
    """The flow spec has a syntax error."""


class RunflowReferenceError(RunflowError):
    """The variable is not declared in the flow spec."""


class RunflowTaskTypeError(RunflowError):
    """The task type is not registered."""


class RunflowTaskError(RunflowError):
    """The task execution is failed."""


class RunflowAcyclicTasksError(RunflowError):
    """The task has circular dependency."""


class RunflowReadOnlyError(RunflowError):
    """Attempt to write something but it is read-only."""

Classes

class RunflowAcyclicTasksError (*args, **kwargs)

The task has circular dependency.

Expand source code
class RunflowAcyclicTasksError(RunflowError):
    """The task has circular dependency."""

Ancestors

class RunflowError (*args, **kwargs)

Base Runflow error.

Expand source code
class RunflowError(Exception):
    """Base Runflow error."""

Ancestors

  • builtins.Exception
  • builtins.BaseException

Subclasses

class RunflowReadOnlyError (*args, **kwargs)

Attempt to write something but it is read-only.

Expand source code
class RunflowReadOnlyError(RunflowError):
    """Attempt to write something but it is read-only."""

Ancestors

class RunflowReferenceError (*args, **kwargs)

The variable is not declared in the flow spec.

Expand source code
class RunflowReferenceError(RunflowError):
    """The variable is not declared in the flow spec."""

Ancestors

class RunflowSyntaxError (*args, **kwargs)

The flow spec has a syntax error.

Expand source code
class RunflowSyntaxError(RunflowError):
    """The flow spec has a syntax error."""

Ancestors

class RunflowTaskError (*args, **kwargs)

The task execution is failed.

Expand source code
class RunflowTaskError(RunflowError):
    """The task execution is failed."""

Ancestors

class RunflowTaskTypeError (*args, **kwargs)

The task type is not registered.

Expand source code
class RunflowTaskTypeError(RunflowError):
    """The task type is not registered."""

Ancestors