refect ErrorUitls.js

not finish