private Task HandleSoftExceptionAsync(HttpContext context, SoftException exception)
        {
            context.Response.ContentType = "application/json";
            context.Response.StatusCode  = 400;

            return(context.Response.WriteAsync(exception.ToString()));
        }