Update docs with error codes