ErrorCallback has surprisingly been broken as nothing currently set the algorithm with SetErrorAlgorithm. This patch removes the unused part, preparing another way in a child patch.
Differential Revision: https://phabricator.services.mozilla.com/D163691