Throw error if no buffers are passed through.