Let's define $o(g(x))$ as usually:
$$ \forall x \ne a.g(x) \ne 0 \\ f(x) = o(g(x)) \space \text{when} \space x \to a \iff \lim_{x \to a} \frac{f(x)}{g(x)}=0 $$
By Taylor expansion of $e^u$ at $0$, we have
$\tag{1} e^u = 1 + u + o(u) \text{ when } u \to 0 \iff \lim_{u \to 0} \frac{e^u - 1 - u}{u} = 0$
How does the little-o look like when I use the above Taylor expansion at $g(x)$, where $g(x) \to 0 \text{ as } x \to 0$?
If I just replace $u$ with $g(x)$ in $(1)$, I get:
$e^{g(x)} = 1 + g(x) + o(g(x))$.
But how to interpret the $o(g(x))$ there?
It is a function which is of a lower order than $g(x)$, as $g(x) \to 0$, but I'm not sure how that fits into the little-o definition above, which does not say that $g(x) \to a$, but $x \to a$.
Note: This question is related to this question, but still different (at least as far as I can see), because the function here is not a complete composition, because we do not have $f(g(x))$ in the numerator, but only the denominator changes.