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

10 lines
154 B
Plaintext
Raw Permalink 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.throw SillyError(egg)
X.catch SillyError se
print(se.message)