util.error is deprecated