Import errror.js in pool.js