The Request::execute function is maked as thowing, but it is not throwing anything. In fact the try resource?.documentDictionary() does not throw either, so the try could be removed. Then the throws for Request:result can be removed as well allowing to lighten calls to APIs
The Request::execute function is maked as thowing, but it is not throwing anything. In fact the
try resource?.documentDictionary()
does not throw either, so thetry
could be removed. Then thethrows
for Request:result can be removed as well allowing to lighten calls to APIs