Function options now returns arg with error option.