Added more error codes and descriptions.