WrongTypeOfArgumentException..Root.WrongTypeOfArgumentExceptionConstructs new WrongTypeOfArgumentException which is thrown when variable with not appropriate type was passed to throwing function.
String type variablesWrongTypeOfArgumentExceptionNativeCallable, Callable
auto myFunction.=({
if(args.size().!=(1), {
throw(WrongNumberOfArgumentsException("More or less than one arguments passed!"));
});
if(instanceOf(args[0].get(), String).!(), {
throw(WrongTypeOfArgumentException("This is not String!"));
});
log("This is one String: ", args[0].get());
});
myFunction("my argument");
my argument