Response objects from Momento APIs in Momento Leaderboards
These are the baseline responses for all commands. Some commands will add more data and functionality.
Returned in lieu of an exception.
- innerException: Exception - the exception which caused the error
- message(): String - a human readable error message
- innerException(): Exception - the original exception.
- errorCode(): MomentoErrorCode - Momento’s own category of errors such as InvalidArgument or BadRequest. See Standards And Practices - Error Handling
- toString(): String - alias for message()
The command was successful.