add new error handling infrastructure and strerror functions

--HG--
branch : HEAD
14 files changed