errorHandler changes

Added tools as required param to init function
Removed errorId from logError function
Added paging to getError function