DBTEAMLOGFailureDetailsLogInfo
Objective-C
@interface DBTEAMLOGFailureDetailsLogInfo : NSObject <DBSerializable, NSCopying>
Swift
class DBTEAMLOGFailureDetailsLogInfo : NSObject, DBSerializable, NSCopying
The FailureDetailsLogInfo struct.
Provides details about a failure
This class implements the DBSerializable protocol (serialize and
deserialize instance methods), which is required for all Obj-C SDK API route
objects.
-
A user friendly explanation of the error.
Declaration
Objective-C
@property (nonatomic, copy, readonly, nullable) NSString *userFriendlyMessage;Swift
var userFriendlyMessage: String? { get } -
A technical explanation of the error. This is relevant for some errors.
Declaration
Objective-C
@property (nonatomic, copy, readonly, nullable) NSString *technicalErrorMessage;Swift
var technicalErrorMessage: String? { get }
-
Full constructor for the struct (exposes all instance variables).
Declaration
Objective-C
- (nonnull instancetype) initWithUserFriendlyMessage:(nullable NSString *)userFriendlyMessage technicalErrorMessage:(nullable NSString *)technicalErrorMessage;Swift
init(userFriendlyMessage: String?, technicalErrorMessage: String?)Parameters
userFriendlyMessageA user friendly explanation of the error.
technicalErrorMessageA technical explanation of the error. This is relevant for some errors.
Return Value
An initialized instance.
-
Convenience constructor (exposes only non-nullable instance variables with no default value).
Declaration
Objective-C
- (nonnull instancetype)initDefault;Swift
init(default: ())Return Value
An initialized instance.
View on GitHub
DBTEAMLOGFailureDetailsLogInfo Class Reference