reflect ErrorUtils.js

not finish yet