DBTEAMLOGFailureDetailsLogInfo

@interface 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. Might be missing due to historical data gap.

    Declaration

    Objective-C

    @property (readonly, copy, nonatomic, nullable) NSString *userFriendlyMessage;

    Swift

    var userFriendlyMessage: String? { get }
  • A technical explanation of the error. This is relevant for some errors.

    Declaration

    Objective-C

    @property (readonly, copy, nonatomic, 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

    userFriendlyMessage

    A user friendly explanation of the error. Might be missing due to historical data gap.

    technicalErrorMessage

    A 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.