SP.ExceptionHandlingScope.serverErrorCode Property
Applies to: SharePoint Foundation 2010
Gets the error code that corresponds to the exception that occurred in the try scope.
var value = SP.ExceptionHandlingScope.get_serverErrorCode();
Property Value
Type: Int32
Applies To
SP.ExceptionHandlingScope Class
See Also
Reference
SP.ExceptionHandlingScope Methods