Module pdpipe.exceptions

Custom exceptions for pdpipe.

Expand source code Browse git
"""Custom exceptions for pdpipe."""


class FailedPreconditionError(Exception):
    """An exception raised when a pipeline stage is applied to a dataframe for
    which the stage precondition does not hold.
    """


class PipelineApplicationError(Exception):
    """An exception raised when an exception is thrown during the application
    of a pipeline or a pipeline stage to a dataframe.
    """


class UnfittedPipelineStageError(Exception):
    """An exception raised when a (non-fit) transform is attempted with an
    unfitted pipeline stage.
    """

Classes

class FailedPreconditionError (*args, **kwargs)

An exception raised when a pipeline stage is applied to a dataframe for which the stage precondition does not hold.

Expand source code Browse git
class FailedPreconditionError(Exception):
    """An exception raised when a pipeline stage is applied to a dataframe for
    which the stage precondition does not hold.
    """

Ancestors

  • builtins.Exception
  • builtins.BaseException
class PipelineApplicationError (*args, **kwargs)

An exception raised when an exception is thrown during the application of a pipeline or a pipeline stage to a dataframe.

Expand source code Browse git
class PipelineApplicationError(Exception):
    """An exception raised when an exception is thrown during the application
    of a pipeline or a pipeline stage to a dataframe.
    """

Ancestors

  • builtins.Exception
  • builtins.BaseException
class UnfittedPipelineStageError (*args, **kwargs)

An exception raised when a (non-fit) transform is attempted with an unfitted pipeline stage.

Expand source code Browse git
class UnfittedPipelineStageError(Exception):
    """An exception raised when a (non-fit) transform is attempted with an
    unfitted pipeline stage.
    """

Ancestors

  • builtins.Exception
  • builtins.BaseException