This can now use the consume error function.