Skip to content

EndpointExtensions.ConvertToResponse<TResponse> method (1 of 2)

namespace: Serenity.Services   assemblySerenity.Net.Web

public static TResponse ConvertToResponse<TResponse>(this Exception exception, 
    HttpContext httpContext)
    where TResponse : ServiceResponse, new()

See Also


EndpointExtensions.ConvertToResponse<TResponse> method (2 of 2)

namespace: Serenity.Services   assemblySerenity.Net.Web

public static TResponse ConvertToResponse<TResponse>(this Exception exception, 
    IExceptionLogger logger, ITextLocalizer localizer, bool showDetails)
    where TResponse : ServiceResponse, new()

See Also