Summary
Returns the severity level. The severity level is used to control how geoprocessing tools throw exceptions.
Syntax
GetSeverityLevel ()
Data Type | Explanation |
Integer | The severity level.
|
Code sample
Use GetSeverityLevel to access the severity level.
import arcpy
severity_level = arcpy.GetSeverityLevel()
print(severity_level)