Remove a redundant version of `error`.