TW'sLE!!!
Jump to navigation
Jump to search
TW'sLE!!! (stands for The World's Longest Error!!!) or Errology is a joke esolang by User:iddi01 in which every single program instantly raises an error about 470000 lines long, the world's longest error.
Quine
(Too long to put in here)
Implementation
Python (clsmvks2.py) (Please make sure that the filename storing the program is clsmvks2.py or won't work)
def importer(): try: CM() except: CM() finally: CM() class CM: def __new__(cls): try: return clsmvks2.CM.__new__(cls) except Exception as exc: try: raise Exception from exc except Exception as err: try: raise BaseException from err except BaseException as trd: try: raise PendingDeprecationWarning from trd except PendingDeprecationWarning as trderr: help('hwcae') import clsmvks2 try: importer() except: importer() finally: importer()
Place a file named hwcae.py containing the line below in the same folder as the program or the error will be much shorter:
dwcae = type('cannotdir', (object,), {...: 'abc'})
Also, the program was written in Python 3.8.10 and ran on Ubuntu 20.04, in case the environment affects things.