Yep, so I've made it raise an exception when there's no data passed in, that should take care of your use-case.