- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
int code = 300;
if (
ex is Exceptions.ApiErrorNotFoundException ||
ex is Exceptions.CardAuthHistoryNotFoundException ||
ex is Exceptions.CardNotFoundException ||
ex is Exceptions.CardStateNotFoundException ||
ex is Exceptions.CurrencyNotFoundException ||
ex is EmailTemplateNotFoundException ||
ex is Exceptions.ExchangeRateNotFoundException ||
ex is Exceptions.InfoBlockNotFoundException ||
ex is InvoiceNotFoundException ||
ex is Exceptions.InvoiceStateNotFoundException ||
ex is Exceptions.ManagerNotFoundException ||
ex is Exceptions.PasswordRecoveryNotFoundException ||
ex is Exceptions.PayCommissionNotFoundException ||
ex is Exceptions.PaymentStateNotFoundException ||
ex is Exceptions.PaymentTypeNotFoundException ||
ex is Exceptions.PaySystemNotFoundException ||
ex is Exceptions.PersonNotFoundException ||
ex is Exceptions.SecretWordNotFoundException ||
ex is ShopNotFoundException ||
ex is SiteNotFoundException ||
ex is Exceptions.SysSettingsNotFoundException ||
ex is Exceptions.SysWalletNotFoundException ||
ex is Exceptions.TariffNotFoundException ||
ex is Exceptions.UserNotFoundException ||
ex is Exceptions.UserParamsNotFoundException ||
ex is Exceptions.WorldCurrencyNotFoundException ||
ex is Exceptions.WorldExchangeRateNotFoundException
)
{
code = 504;
}