There's no real point to keeping the separate enum around, especially given the name of the error code itself is supposed to document what the value actually represents.