public async Task OnExceptionAsync(ExceptionContext context, string api, string key) { //handle exception here await Task.CompletedTask; } }