Limited support
This feature is only present in Portal 2: Community Edition.

Function: getExceptionInfo

string getExceptionInfo()