I think I know the answer already but have to ask. Can you assign a specific number to the value of the enumeration? I was thinking of things like error codes or HTTTP status codes.
example…
HTTPstatus.ok = 200
HTTPstatus.notfound = 404
HTTPstatus.servererror = 500