The problem with strings is that you can easily typo and will never notice, e.g. `if ($msg === 'Tag limit exceded') will not throw an error but won't work. Constants on the other hand will throw an error if they are undefined.