runtime errors

April 26, 2013

Handling Runtime Errors in Ruby, Python and C Clients

Every app will eventually have to deal with an exception - runtime errors occur unexpectedly and your app must know how to deal with them and recover. It’s always good when error handling is transparent to the end-user but at the very least, good error handling should address the problem, give enough information to the user on what to do next, and exit the program gracefully. If you’ve put a lot of effort into writing your custom app, why let a runtime error ruin it all?