added routes for pool errors and pool tasks, implemented pool errors call