throw error if there is no emitters to the 'error' event