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

This should be a managerError already.