4.12.2.3.1.10. sphinx.builders.texinfo.OptionParser.error

OptionParser.error(msg : string)[source]

Print a usage message incorporating ‘msg’ to stderr and exit. If you override this in a subclass, it should not return – it should either exit or raise an exception.