chore(ConsoleErrorHandler): extrans console error handler to own class for reuse