Make an error code a constant.