Set error code, no fprintf stderr, on errors.