Skip to main content
All docs
V24.2

IErrorJsonSerializer.ToErrorJson(Exception) Method

Serializes the specified Exception object.

Namespace: DevExpress.XtraReports.Web.ReportDesigner.Services

Assembly: DevExpress.XtraReports.v24.2.Web.dll

NuGet Package: DevExpress.Web.Reporting.Common

Declaration

string ToErrorJson(
    Exception exception
)

Parameters

Name Type Description
exception Exception

The exception object to serialize.

Returns

Type Description
String

A string in JSON format that is the serialization result.

See Also