Python - Custom Exceptions
What will be the output of this code?
class MyError(Exception):
pass
try:
raise MyError('Oops!')
except MyError as e:
print(e)