Skip to content

Exception

DiffObjectException

Bases: Exception

Base class for all diffobject exceptions.

Source code in src/officialeye/_internal/diffobject/exception.py
class DiffObjectException(Exception):
    """
    Base class for all `diffobject` exceptions.
    """

    def __init__(self, problem: str, /):
        super().__init__()

        self.problem = problem

    def __str__(self):
        return self.problem