ComparisonException constructor

init

Initializes a new instance of the ComparisonException class.

def __init__(self):
    ...

init

Initializes a new instance of the ComparisonException class with a specified error message.

def __init__(self, message):
    ...
Parameter Type Description
message str The exception message

See Also