in src/Azure.Deployments.Extensibility.AspNetCore/Middlewares/ErrorResponseExceptionHandler.cs [13:23]
public async ValueTask<bool> TryHandleAsync(HttpContext httpContext, Exception exception, CancellationToken cancellationToken)
{
if (exception is ErrorResponseException errorResponseException)
{
await this.HandleErrorResponseException(httpContext, errorResponseException);
return true;
}
return false;
}