Closed sqs closed 7 years ago
Just FYI in PHP I solved this by having two classes, SuccessResponse and ErrorResponse, so there is a distinction between result not set (ErrorResponse) and result being null in a SuccessResponse
SuccessResponse
ErrorResponse
result
null
Just FYI in PHP I solved this by having two classes,
SuccessResponse
andErrorResponse
, so there is a distinction betweenresult
not set (ErrorResponse) andresult
beingnull
in aSuccessResponse