Update the code to make the error number a constant.