Last active
July 30, 2017 09:46
-
-
Save Yardanico/8c5664871ec8d631da25519c80d2f264 to your computer and use it in GitHub Desktop.
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
template answer(data: string) {.dirty.} = | |
api.sendMessage(data) | |
return | |
proc someHello(api: SomeApi) {.async.} = | |
try: | |
raise newException(Exception, "Oh, exception!") | |
except: | |
answer "Exception happened..." | |
echo "never happens" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment