Within an except
clause it is possible to access the current exception
using the following syntax:
try:
# ...
except IOError as e:
# Now use "e"
echo "I/O error: " & e.msg
# TL;DR | |
There are two incompatible async I/O libraries available for Nim, which is not a good thing given the fundamental layer at which these libraries operate. The risk is that this might split the library ecosystem. I hope to find a resolution for this situation that makes everybody happy. | |
# Background | |
Over the last few weeks/months I have seen a number of discussions on the Nim forum and the #nim IRC channel about the state of the Nim async library. After speaking with some (but not all!) of the people involved I figured it is time to make this into an official discussion to see how this can be resolved and we can move forward. | |
Here is the back story: |
Within an except
clause it is possible to access the current exception
using the following syntax:
try:
# ...
except IOError as e:
# Now use "e"
echo "I/O error: " & e.msg
I hereby claim:
To claim this, I am signing this object:
test 123