NSError(ARTUtils)

@interface NSError (ARTUtils)

@property (nullable, readonly) NSString *requestId;

+ (NSError *)copyFromError:(NSError *)error withRequestId:(nullable NSString *)requestId;

@end

Undocumented

  • Undocumented

    Declaration

    Objective-C

    @property (nullable, readonly) NSString *requestId

    Swift

    var requestId: String? { get }
  • Undocumented

    Declaration

    Objective-C

    + (NSError *)copyFromError:(NSError *)error withRequestId:(nullable NSString *)requestId;

    Swift

    class func copy(fromError error: any Error, withRequestId requestId: String?) -> any Error