Objective-CcategoryOfficeImport
NSError(TSUAdditions)
@interface NSError (TSUAdditions)
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
extends{}
classNSError
Members 30
- method
+ (id)tsu_errorWithCode:(long long)arg0 userInfo:(id)arg1; - method
+ (id)tsu_errorWithDomain:(id)arg0 code:(long long)arg1 alertTitle:(id)arg2 alertMessage:(id)arg3; - method
+ (id)tsu_errorWithDomain:(id)arg0 code:(long long)arg1 alertTitle:(id)arg2 alertMessage:(id)arg3 userInfo:(id)arg4; - method
+ (id)tsu_errorWithDomain:(id)arg0 code:(long long)arg1 description:(id)arg2 recoverySuggestion:(id)arg3; - method
+ (id)tsu_errorWithDomain:(id)arg0 code:(long long)arg1 description:(id)arg2 underlyingError:(id)arg3; - method
+ (id)tsu_errorWithError:(id)arg0 alertTitle:(id)arg1 alertMessage:(id)arg2 additionalUserInfo:(id)arg3; - method
+ (id)tsu_errorWithWarning:(id)arg0; - method
+ (id)tsu_fileReadCorruptedFileErrorWithUserInfo:(id)arg0; - method
+ (id)tsu_fileReadPOSIXErrorWithNumber:(int)arg0 userInfo:(id)arg1; - method
+ (id)tsu_fileReadUnknownErrorWithUserInfo:(id)arg0; - method
+ (id)tsu_fileWritePOSIXErrorWithNumber:(int)arg0 userInfo:(id)arg1; - method
+ (id)tsu_fileWriteUnknownErrorWithUserInfo:(id)arg0; - method
+ (id)tsu_userInfoWithErrorType:(long long)arg0 userInfo:(id)arg1; - method
- (id)tsu_errorPreservingAlertTitle; - method
- (id)tsu_errorPreservingCancel; - method
- (BOOL)tsu_isCancelError; - method
- (BOOL)tsu_isCorruptedError; - method
- (BOOL)tsu_isErrorPassingTest:(id /* block */)arg0; - method
- (BOOL)tsu_isNoSuchFileError; - method
- (BOOL)tsu_isOutOfSpaceError; - method
- (BOOL)tsu_isReadError; - method
- (BOOL)tsu_isWriteError; - method
- (id)tsu_localizedAlertMessage; - method
- (id)tsu_localizedAlertTitle; - property
@property(readonly, nonatomic) BOOL tsu_isCancelError; - property
@property(readonly, nonatomic) BOOL tsu_isCorruptedError; - property
@property(readonly, nonatomic) BOOL tsu_isNoSuchFileError; - property
@property(readonly, nonatomic) BOOL tsu_isOutOfSpaceError; - property
@property(readonly, nonatomic) BOOL tsu_isReadError; - property
@property(readonly, nonatomic) BOOL tsu_isWriteError;
Header
@interface NSError (TSUAdditions) @property (nonatomic, readonly) BOOL tsu_isOutOfSpaceError; @property (nonatomic, readonly) BOOL tsu_isCancelError; @property (nonatomic, readonly) BOOL tsu_isNoSuchFileError; @property (nonatomic, readonly) BOOL tsu_isReadError; @property (nonatomic, readonly) BOOL tsu_isCorruptedError; @property (nonatomic, readonly) BOOL tsu_isWriteError; + (id)tsu_errorWithCode:(long long)code userInfo:(id)userInfo; + (id)tsu_errorWithDomain:(id)domain code:(long long)code alertTitle:(id)alertTitle alertMessage:(id)alertMessage; + (id)tsu_errorWithDomain:(id)domain code:(long long)code alertTitle:(id)alertTitle alertMessage:(id)alertMessage userInfo:(id)userInfo; + (id)tsu_errorWithDomain:(id)domain code:(long long)code description:(id)description recoverySuggestion:(id)recoverySuggestion; + (id)tsu_errorWithDomain:(id)domain code:(long long)code description:(id)description underlyingError:(id)underlyingError; + (id)tsu_errorWithError:(id)error alertTitle:(id)alertTitle alertMessage:(id)alertMessage additionalUserInfo:(id)additionalUserInfo; + (id)tsu_errorWithWarning:(id)warning; + (id)tsu_fileReadCorruptedFileErrorWithUserInfo:(id)userInfo; + (id)tsu_fileReadPOSIXErrorWithNumber:(int)number userInfo:(id)userInfo; + (id)tsu_fileReadUnknownErrorWithUserInfo:(id)userInfo; + (id)tsu_fileWritePOSIXErrorWithNumber:(int)number userInfo:(id)userInfo; + (id)tsu_fileWriteUnknownErrorWithUserInfo:(id)userInfo; + (id)tsu_userInfoWithErrorType:(long long)errorType userInfo:(id)userInfo; - (BOOL)tsu_isReadError; - (id)tsu_errorPreservingAlertTitle; - (id)tsu_errorPreservingCancel; - (BOOL)tsu_isCancelError; - (BOOL)tsu_isCorruptedError; - (BOOL)tsu_isErrorPassingTest:(id /* block */)tsu_isErrorPassingTest; - (BOOL)tsu_isNoSuchFileError; - (BOOL)tsu_isOutOfSpaceError; - (BOOL)tsu_isWriteError; - (id)tsu_localizedAlertMessage; - (id)tsu_localizedAlertTitle; @end