RosettaCodeData/Task/Exceptions/11l/exceptions.11l

10 lines
148 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

T SillyError
String message
F (message)
.message = message
X.try
X SillyError(egg)
X.catch SillyError se
print(se.message)