pythoncom.GetSeverityString

string = GetSeverityString(scode)

Returns the severity string, given an OLE scode.

Parameters

scode : int

The OLE error code for the severity string requested.