I’ve just tried to raise an Exception from else() in doSwitchOrElse(), if given parameter is not matching any option.
However, it looks like that exception is always thrown, independently of given parameter value.
So it looks like it’s an obligatory code to execute a subchain there.
Am I right? For me it would be more useful to raise an exception “on the fly” to notice about a wrong given parameter by command line.