Raise error when zero length is provided to dash