Add more error codes and messages, refine some doc comments.
Merge pull request #24 from teknico/vp

Add more error codes and message, reflow some doc comments.