Learning from Errors