Caffeine can help those working shifts or nights to make fewer errors, according to a new study. The findings have implications for health workers and for any industry relying on shift or night work, such as transportation.