Dear PlayFab community,
I'm wondering how to account for potential error codes returned from the server API when developing CloudScript code with TypeScript. For example, I want to capture the InvalidDropTable error code from the GetRandomResultTables() call:
https://api.playfab.com/documentation/server/method/GetRandomResultTables#error-codes
I see in the documentation that the response has a "code" and "status" fields. However, the TypeScript typings do not seem to have those properties defined. Is this an oversight of the typings? Should all *Result types be extending a base Result that has those properties? Is there an example of how I might be able to obtain this error information?
Thanks in advance!