GraphRequestResult
publicenumGraphRequestResult<T>whereT:GraphRequestProtocol
Represents result of a single request. Can either be
.success
or .failed
publicenumGraphRequestResult<T>whereT:GraphRequestProtocol
.success
or .failed
GraphRequestProtocol
. Encapsulates response from the server.casesuccess(response:T.Response)
GraphRequestProtocol
. Encapsulates error that was encountered.casefailed(Error)