Return an error when the input is not an iolist