Errorhandler and first cut for hints generator