smartinspectpython.siargumentoutofrangeexception

Module: siargumentoutofrangeexception.py

Revision History

Date Version Description
2023/05/30 3.0.0.0 Initial Version.

@export
class SIArgumentOutOfRangeException(builtins.Exception):

The exception that is thrown when the value of an argument is outside the allowable range of values as defined by the invoked method.

SIArgumentOutOfRangeException(paramName: str)

Initializes a new instance of the class with the name of the parameter that causes this exception.

Message: str

Gets the error message and the parameter name, or only the error message if no parameter name is set.

paramName: str

Gets the name of the parameter that causes this exception.