Open this page in the API Guide

HttpRequestExtensions.TrySetLastError Method

Sets the last error encountered by the current engine session.

Namespace:  Dundas.BI.WebApi
Assembly:  Dundas.BI.WebApi (in Dundas.BI.WebApi.dll) Version: 2.0.0.0 (25.1.0.1000)
Syntax
public static void TrySetLastError(
	HttpContext httpContext,
	Exception exception
)

Parameters

httpContext
Type: Microsoft.AspNetCore.Http.HttpContext
The HTTP context.
exception
Type: System.Exception
The exception.
See Also