level

Type: Integer

The read-only level property of the Exception class contains the level number of the exception. The level number is automatically incremented for each nested exception.