EndpointExtensions.ConvertToResponse<TResponse> method (1 of 2)
namespace: Serenity.Services assembly: Serenity.Net.Web
public static TResponse ConvertToResponse<TResponse>(this Exception exception,
HttpContext httpContext)
where TResponse : ServiceResponse, new()
See Also
- class TResponse
- class ServiceResponse
- class EndpointExtensions
EndpointExtensions.ConvertToResponse<TResponse> method (2 of 2)
namespace: Serenity.Services assembly: Serenity.Net.Web
public static TResponse ConvertToResponse<TResponse>(this Exception exception,
IExceptionLogger logger, ITextLocalizer localizer, bool showDetails)
where TResponse : ServiceResponse, new()
See Also
- class TResponse
- interface IExceptionLogger
- interface ITextLocalizer
- class ServiceResponse
- class EndpointExtensions