{CompanyName} FlexyGo

AjaxError..::..AjaxException Method

Transform de exception in json result

Namespace:  FLEXYGO
Assembly:  FlexyGo (in FlexyGo.dll)

Syntax


public static Jerror AjaxException(
	string ErrorTitle,
	Exception Exception,
	HttpResponseBase Response
)
Public Shared Function AjaxException ( _
	ErrorTitle As String, _
	Exception As Exception, _
	Response As HttpResponseBase _
) As Jerror

Parameters

ErrorTitle
Type: String
An error title to describe the exception's context
Exception
Type: Exception
The exception to transform
Response
Type: HttpResponseBase
The response object to set the error status code

Return Value

Jerror.