Skip to main content
A newer version of this page is available. .

ControllerDataSourceOptionsBuilder.ErrorHandler(RazorBlock) Method

A function that is executed when an error occurs.

Namespace: DevExtreme.AspNet.Mvc.Builders.DataSources

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public ControllerDataSourceOptionsBuilder ErrorHandler(
    RazorBlock jsFunc
)

Parameters

Name Type
jsFunc RazorBlock

Returns

Type
ControllerDataSourceOptionsBuilder
See Also