• 参数

    • err: any

      The error object.

    返回 string

    The error message.

    The error return information format is different on each platform. Here is a common way to get the error message.

    在各个平台上,错误的返回信息格式不一样,这里提供一个通用的方式获取错误信息。