# `Curves.Exceptions.TooManyPoints`
[🔗](https://github.com/greetingsfellowhumans/curves/blob/main/lib/curves/exceptions/too_many_points.ex#L3)

Raised by `Curves.solve!/3` and `Curves.take!/3` for a bezier curve defined with more than 4 points.
`Curves.solve/3` returns `{:error, {:too_many_points, n, 4}}` instead. For longer paths, use a spline.

Fields: `:message`, `:n` (how many points the curve has) and `:max` (the maximum, 4).

---

*Consult [api-reference.md](api-reference.md) for complete listing*
