The libexplain project provides a library which may be used to explain Unix and Linux error messages. This will make your application's error messages much more understandable to your users.