When calling `setActiveSpan` at the module root, or with `options.root = true`, the function would internally throw.