ErrorResponse messages are moved to constants