import ContentsquareSDK

@objc(CSQInterfaceErrorTracking)
public class CSQInterfaceErrorTracking: NSObject {
    let CSQType: _CSQ.Type
    
    @objc
    public convenience override init() {
        self.init(CSQ.self)
    }
    
    init(_ CSQType: _CSQ.Type) {
        self.CSQType = CSQType
        super.init()
    }
    
    @objc
    public func setUrlMaskingPatterns(_ patterns: [String]) {
        CSQType.setURLMaskingPatterns(patterns)
    }
    
    @objc
    public func triggerNativeCrash() -> Void {
        fatalError("This is purposely triggered native crash")
    }
}


