#handle error from main?

1 messages · Page 1 of 1 (latest)

potent torrent
#

just catch the error inside of main and possible add another function like you said. i dont really see what the problem is?

potent torrent
#

returning errors from main does handle them, but of course you cannot change the way it does

#

so its up to you to decide if you're fine with the default logic (print error name and return trace to stderr) or if you want to do something else