def print_error_to_io_stream(err: Exception, io: TextIOBase, print_big_traceback : bool = True):
if print_big_traceback:<EOL><INDENT>traceback.print_tb(err.__traceback__, file=io, limit=-GLOBAL_CONFIG.multiple_errors_tb_limit)<EOL><DEDENT>else:<EOL><INDENT>traceback.print_tb(err.__traceback__, file=io, limit=-<NUM_LIT:1>)<EOL><DEDENT>io.writelines('<STR_LIT:U+0020>' + str(err.__class__.__name__) + '<STR_LIT>' + str(err))<EOL>
Utility method to print an exception's content to a stream

:param err:
:param io:
:param print_big_traceback:
:return: