def _errmsg(argname, ltd, errmsgExtra=''):
    if errmsgExtra:
        errmsgExtra = '\n' + errmsgExtra
    return "arg '%s' must be %s%s" % (argname, ltd, errmsgExtra)


##################################################
## TYPE VERIFICATION FUNCTIONS
Construct an error message.
dataset/ETHPy150Open skyostil/tracy/src/generator/Cheetah/Utils/VerifyType.py/_errmsg