SP.ExceptionHandlingScope.serverErrorValue Property

Applies to: SharePoint Foundation 2010

In this article
Property Value
Applies To
Remarks

Gets the error value that corresponds to the exception that occurs in the try scope.

var value = SP.ExceptionHandlingScope.get_serverErrorValue(); 

Property Value

Type: String

Applies To

SP.ExceptionHandlingScope Class

Remarks

This property will be empty or null if the server has disabled the stack trace.

See Also

Reference

SP.ExceptionHandlingScope Methods

SP.ExceptionHandlingScope Properties

SP Namespace