Tuya iOS Smart Life App SDK 5.15.0
ThingGroupBaseError Class Reference

#import <ThingGroupBaseError.h>

Inheritance diagram for ThingGroupBaseError:

Class Methods

(NSDictionary *) + makeFailureInfoWithError:
 
(NSDictionary *) + makeFailureInfoWithGroupId:failureList:
 
(ThingGroupErrorType) + standardErrorCodeWithMeshCode:
 
(NSDictionary *) + makeFailureInfoWithError:
 
(NSDictionary *) + makeFailureInfoWithGroupId:failureList:
 
(ThingGroupErrorType) + standardErrorCodeWithMeshCode:
 

Detailed Description

Definition at line 14 of file ThingGroupBaseError.h.

Method Documentation

◆ makeFailureInfoWithError: [1/2]

+ (NSDictionary *) makeFailureInfoWithError: (NSError *)  error

根据error生成失败信息

Parameters
errorerror

◆ makeFailureInfoWithError: [2/2]

+ (NSDictionary *) makeFailureInfoWithError: (NSError *)  error

根据error生成失败信息

Parameters
errorerror

◆ makeFailureInfoWithGroupId:failureList: [1/2]

+ (NSDictionary *) makeFailureInfoWithGroupId: (NSString *)  groupId
failureList: (NSArray< NSDictionary * > *)  failureList 

根据groupId和failureList生成失败信息

Parameters
groupIdgroupId
failureListfailureList

◆ makeFailureInfoWithGroupId:failureList: [2/2]

+ (NSDictionary *) makeFailureInfoWithGroupId: (NSString *)  groupId
failureList: (NSArray< NSDictionary * > *)  failureList 

根据groupId和failureList生成失败信息

Parameters
groupIdgroupId
failureListfailureList

◆ standardErrorCodeWithMeshCode: [1/2]

+ (ThingGroupErrorType) standardErrorCodeWithMeshCode: (NSInteger)  code

mesh类设备添加错误码转化为标砖错误码

Parameters
codemesh错误码

◆ standardErrorCodeWithMeshCode: [2/2]

+ (ThingGroupErrorType) standardErrorCodeWithMeshCode: (NSInteger)  code

mesh类设备添加错误码转化为标砖错误码

Parameters
codemesh错误码

The documentation for this class was generated from the following files: