Created
May 24, 2021 22:37
-
-
Save germandiagogomez/6c7886997eeeb1e56cf68ed7d0bfe134 to your computer and use it in GitHub Desktop.
Exceptions in ChaiScript
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
try { | |
myFunc(2); | |
} | |
catch (e) : type(e, "int") { | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment