react-native-mobilex 开发文档
    Preparing search index...

    Class MapError

    React Native 原生接口抛出的错误。

    code 在 Android 与 Harmony 上均为字符串。常见值为 CANCELLED、INVALID_ARGUMENT、 INVALID_DATA、NAME_CONFLICT、IO_ERROR、UNKNOWN_ERROR;其他业务错误码以对应接口说明为准。

    Hierarchy

    • Error
      • MapError
    Index

    Constructors

    Properties

    Constructors

    • Parameters

      • code: string

        异常代码

      • message: string

        异常信息

      Returns MapError

    Properties

    code: string

    异常代码