stadiamaps / ferrostar

A FOSS navigation SDK built from the ground up for the future
https://stadiamaps.github.io/ferrostar/
Other
81 stars 9 forks source link

Don't throw an exception from startNavigation #72

Open ianthetechie opened 1 month ago

ianthetechie commented 1 month ago

This is inside the startNavigation function. The current experience was for convenience and ease of a "clean" implementation but it can be confusing to users.

While most users won't ever hit it (it's hard to get a route without a location), throwing isn't great.

Possible solutions: