Standardize our error codes.
github-issue: #4