return a negative error code instead of exiting on parse error