classTNSError(Exception):""" Base exception class. Sub-class from this for module level Errors. """def__str__(self)->str:""" Prettier handling of the Exception strings. Returns ------- : The formatted exception string. """returnfill(dedent(self.args[0]))