# count of optparams in error message class OptionalExample def main is shared eg = EClass() eg.twoOpt() #.error. expecting 3 arguments (2 optional) class EClass var name as String cue init(name as String) base.init .name = name def twoOpt(required as int, optionalstr as String = "default", optionalint as int = 10) pass