def METHOD_NAME(self, e):
    """Prints an exception to the console and shows a markdown tab.
    Parameters
    ----------
    e : Exception
    """
    self.console.write(e)
    self.tabwidget.open_markdown(e.markdown(), 'os-finished-error',
                                 e.title())