Fix typo and add header files to err library.
4 files changed