Curves.Exceptions.TooManyPoints exception (curves v1.0.1)

Copy Markdown View Source

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).