Skip to content

Commit

Permalink
new error type, event type, event source (#455)
Browse files Browse the repository at this point in the history
Co-authored-by: jgeng <jgeng@adobe.com>
  • Loading branch information
shalehaha and jiabingeng authored Nov 19, 2020
1 parent c1b3112 commit e7cf163
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions AEPCore/Sources/eventhub/AEPError.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,9 @@ import Foundation
case callbackTimeout = 1
case callbackNil = 2
case none = 3
case serverError = 4
case networkError = 5
case invalidRequest = 6
case invalidResponse = 7
case errorExtensionNotInitialized = 11
}
1 change: 1 addition & 0 deletions AEPCore/Sources/eventhub/EventSource.swift
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,6 @@ public class EventSource: NSObject {
public static let responseIdentity = "com.adobe.eventSource.responseIdentity"
public static let responseProfile = "com.adobe.eventSource.responseProfile"
public static let sharedState = "com.adobe.eventSource.sharedState"
public static let notification = "com.adobe.eventSource.notification"
public static let wildcard = "com.adobe.eventSource._wildcard_"
}
1 change: 1 addition & 0 deletions AEPCore/Sources/eventhub/EventType.swift
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,6 @@ public class EventType: NSObject {
public static let genericIdentity = "com.adobe.eventType.generic.identity"
public static let genericPii = "com.adobe.eventType.generic.pii"
public static let genericData = "com.adobe.eventType.generic.data"
public static let edge = "com.adobe.eventType.edge"
public static let wildcard = "com.adobe.eventType._wildcard_"
}

0 comments on commit e7cf163

Please sign in to comment.