message

Retrieves detailed error information.

public String message()
Since
Available since v4.4.0.

Timing

When the API call fails, you can call this method to get error information to help troubleshoot the issue.

Return Values

  • If the method call succeeds, returns the error message string.
  • If the method call fails, returns an empty string.