(self, exitcode=0, message="")
Initialize a ISBGError object.

        Args:
            exitcode (int): Exit code. It must be a
                :py:const:`~isbg.isbg.__exitcodes__` valid value.
            message (str): Human readable error message.
        Raises:
            ValueError: If the `exitcode` is not in `__exitcodes__`.
Initialize a ISBGError object.
Initialize a ISBGError object .
def __init__(self, exitcode=0, message=""):
        """Initialize a ISBGError object.

        Args:
            exitcode (int): Exit code. It must be a
                :py:const:`~isbg.isbg.__exitcodes__` valid value.
            message (str): Human readable error message.
        Raises:
            ValueError: If the `exitcode` is not in `__exitcodes__`.

        """
        self.exitcode = exitcode
        self.message = message

        Exception.__init__(self, message)
        if exitcode not in __exitcodes__.values():
            raise ValueError
def __init__ ( self , exitcode = 0 , message = "" ) : self . exitcode = exitcode self . message = message Exception . __init__ ( self , message ) if exitcode not in __exitcodes__ . values ( ) : raise ValueError