def error_received(self, exception):
if exception is None:<EOL><INDENT>pass<EOL><DEDENT>else:<EOL><INDENT>import pprint<EOL>pprint.pprint(exception)<EOL>_LOGGER.error('<STR_LIT>', exception)<EOL><DEDENT>
Datagram error callback.