So it's time for another stupid question.
I'm using getContent to ping a local server with the simple intent of checking if it's running or not.
If it's not running, I need to display a message to the user, so there's nothing fancy going on.
Now, if the server is indeed not running, I get: Traceback (most recent call last) openbd.nim(183) openbd httpclient.nim(491) getContent httpclient.nim(472) get httpclient.nim(445) request httpclient.nim(428) request net.nim(496) connect os.nim(277) raiseOSError
Is there a way for me to check the Error: message?
I know what I need to do, but not how.
I've tried looking for Nim error handling, but found nothing, I just went looking for exception handling and I think I found what I need, thanks dom96