ID EN
Built-in Exceptions

value

Python 3.11

The exception object has a single attribute value, which is given as an argument when constructing the exception, and defaults to None.

Syntax

PYTHON
value

See Also

None