def set_error_level(level=0):
    assert level >= 0 and level <= 9, "set_error_level: level must be 0..9"
    _libsmi.smiSetErrorLevel(level)
Sets the pedantic level (0-9) of the SMI parsers of the SMI
dataset/ETHPy150Open kdart/pycopia/SMI/pycopia/SMI/SMI.py/set_error_level