Fix: now using the "errorName" constant when broadcasting errors on the $rootScope.