Beta
Type representing a general API result which can be either success or error.
The type of the data returned in case of success.
Type representing a general API result which can be either success or error.