I'd vote for throwing an exception, similar to how...
# getting-started
k
I'd vote for throwing an exception, similar to how
String.toInt
works: fail as early and loud as possible.
1