Python - Custom Exceptions
Identify the problem in this code snippet:
class MyError(Exception):
pass
try:
raise MyError
except MyError as e:
print(e())