How do I get the return object from throw new SwaggerException (...) using TResult? I need the deserialized object in return