Encapsulate Refit Exception Handling

后端 未结 0 524
孤独总比滥情好
孤独总比滥情好 2020-12-30 03:12

I find myself using code like this over and over in my viewmodels:

try
{
   //something
}
catch (ValidationApiException ve)
{
    //handle validation problems         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题