c# api multiple exceptions same handler code example
Example: c# multiple exceptions same handler
catch (Exception ex)
{
if (ex is FormatException || ex is OverflowException)
{
WebId = Guid.Empty;
return;
}
throw;
}