Module lang_main.errors

Classes

class DependencyMissingError (*args, **kwargs)
Expand source code
class DependencyMissingError(Exception):
    """Error raised if needed dependency could not be found"""

Error raised if needed dependency could not be found

Ancestors

  • builtins.Exception
  • builtins.BaseException
class EdgePropertyNotContainedError (*args, **kwargs)
Expand source code
class EdgePropertyNotContainedError(Exception):
    """Error raised if a needed edge property is not contained in graph edges"""

Error raised if a needed edge property is not contained in graph edges

Ancestors

  • builtins.Exception
  • builtins.BaseException
class EmptyEdgesError (*args, **kwargs)
Expand source code
class EmptyEdgesError(EmptyGraphError):
    """Error raised if action should be performed on a graph's edges, but
    it does not contain any"""

Error raised if action should be performed on a graph's edges, but it does not contain any

Ancestors

class EmptyGraphError (*args, **kwargs)
Expand source code
class EmptyGraphError(Exception):
    """Error raised if an operation should be performed on the graph,
    but it does not contain any nodes or edges"""

Error raised if an operation should be performed on the graph, but it does not contain any nodes or edges

Ancestors

  • builtins.Exception
  • builtins.BaseException

Subclasses

class GraphRenderError (*args, **kwargs)
Expand source code
class GraphRenderError(Exception):
    """Error raised if a graph object can not be rendered"""

Error raised if a graph object can not be rendered

Ancestors

  • builtins.Exception
  • builtins.BaseException
class LangMainConfigNotFoundError (*args, **kwargs)
Expand source code
class LangMainConfigNotFoundError(Exception):
    """Error raised if a config file could not be found successfully"""

Error raised if a config file could not be found successfully

Ancestors

  • builtins.Exception
  • builtins.BaseException
class LanguageModelNotFoundError (*args, **kwargs)
Expand source code
class LanguageModelNotFoundError(Exception):
    """Error raised if a given language model could not be loaded successfully"""

Error raised if a given language model could not be loaded successfully

Ancestors

  • builtins.Exception
  • builtins.BaseException
class NoPerformableActionError (*args, **kwargs)
Expand source code
class NoPerformableActionError(Exception):
    """Error describing that no action is available in the current pipeline"""

Error describing that no action is available in the current pipeline

Ancestors

  • builtins.Exception
  • builtins.BaseException
class NodePropertyNotContainedError (*args, **kwargs)
Expand source code
class NodePropertyNotContainedError(Exception):
    """Error raised if a needed node property is not contained in graph edges"""

Error raised if a needed node property is not contained in graph edges

Ancestors

  • builtins.Exception
  • builtins.BaseException
class OutputInPipelineContainerError (*args, **kwargs)
Expand source code
class OutputInPipelineContainerError(Exception):
    """Error raised if an output was detected by one of the performed
    actions in a PipelineContainer. Each action in a PipelineContainer is itself a
    procedure which does not have any parameters or return values and should therefore not
    return any values."""

Error raised if an output was detected by one of the performed actions in a PipelineContainer. Each action in a PipelineContainer is itself a procedure which does not have any parameters or return values and should therefore not return any values.

Ancestors

  • builtins.Exception
  • builtins.BaseException
class WrongActionTypeError (*args, **kwargs)
Expand source code
class WrongActionTypeError(Exception):
    """Error raised if added action type is not supported by corresponding pipeline"""

Error raised if added action type is not supported by corresponding pipeline

Ancestors

  • builtins.Exception
  • builtins.BaseException