You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
try{}catch(SwaggerExceptionex){//if (ex.StatusCode != 200) // you can check statusCodereturnJsonConvert.DeserializeObject<TResult>(ex.Response,newJsonSerializerSettings());}
or
try{}catch(SwaggerException<TResult>ex){//if (ex.StatusCode != 200) // you can check statusCodereturnex.Result;}
How do I get the return object from throw new SwaggerException (...) using TResult?
I need the deserialized object in return
The text was updated successfully, but these errors were encountered: