libexplain is an interesting library intended to make *nix error codes more friendly: http://t.co/lLMduUDx3y