Put the hard-coded error domain name in a #define.

This allows callers to use the name without hard-coding it themselves.