needs to be `if (err.status === 404) {`