Rigol-DG2052-Function-Gener.../fn_gen/errors/undefined_value_error.py

5 lines
183 B
Python

class UndefinedValueError(Exception):
def __init__(self, value: str, expected: str):
super().__init__( f"ERROR: Undefined Value, expected: {expected}, value: {value}." )