add OnWorkError event