Return correct error.