Isn't `error` a boolean?