def directive_error(self, level, message):
        return DirectiveError(level, message)
Return a DirectiveError suitable for being thrown as an exception.
dataset/ETHPy150Open adieu/allbuttonspressed/docutils/parsers/rst/__init__.py/Directive.directive_error