Error callback both deprecated and unused