I 2nd this. Something like:

```python
class ERRORS:
    alias_required = 101
    product_required = 102
    product_invalid = 103
    alias_invalid = 104
```

Or go even simpler and make them all constants:

```python
E_ALIAS_REQUIRED = 101
E_PRODUCT_REQUIRED = 102
...
```