Source Code:
(back to article)
try: raise ValueError("An error occurred") except Exception as e: print(e)
Result:
Report an issue