Osstatus Error List
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring
What Is Osstatus Error -43
developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask osstatus error -43 foxtel go Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, helping each other. Join
Osstatus 25299
them; it only takes a minute: Sign up iOS: Where to find the full list of OSStatus codes for iOS? [duplicate] up vote 17 down vote favorite 5 This question already has an answer here: How do you convert curl osstatus -25299 an IPhone OSStatus code to something useful? 15 answers I can easily find noErr = 0 in the OS X library source code. But it's pretty hard to find a full list of error code for OSStatus on iOS. On Mac OS X, it's not that hard to find stuff like kAudioHardwareUnsupportedOperationError But I can't seem to find useful info for iOS OSStatus codes. It would be nice to have a full list of them or any pointers to osstatus error -54 iphoto the header files that define them. Thanks! UPDATE: I don't think my question is a duplicate of the above question. The op of that "possible duplicate" question wanted to convert the 4-char codes he already knew into human-readable strings. Instead, here is my further spec: I don't even know what 4-char or typedefed integers to use for iOS. I'd like to see something like a full list of codes, like you would normally see in many C++ framework/library design, e.g., an enum list, or standard exceptions, or even the OSX k-something codes, which at least can be found in the Xcode docs alone. My usecases of these codes include: In my custom functions, e.g., some CoreAudio callbacks that have to return OSStatus, I'd like to return these built-in human-readable codes to indicate the types of runtime errors. Without the list, I don't know what to return, other than noErr. Apparently, many OSX k-codes are undefined under iOS environment so they can't be used transparently. UPDATE (CONCLUSION): I finally found a clue: Search for keyword "Result Codes" in Xcode documentation (Organizer) and we get more or less categorized return codes documentation sections in the "System Guides" result. This is good enough for my original question. – ios cocoa error-handling share|improve this question edited Jun 26 '13 at 19:11 asked Jun 3 '13 at 21:26 kakyo 1,77342243 marked as duplicate by Carl Norum, mja, Trinimon, Cairn
remain constant. If you know of a category of errors that are not included here, please let me know. error -32768 svTempDisable: Temporarily disable card but run primary init. error -32640
Osstatus Error 1712
svDisabled: Reserve range -32640 to -32768 for Apple temp disables. error -32615 fontNotOutlineErr: bitmap font osstatus error -43 mac passed to routine that does outlines only error -23048 outOfMemory: Not enough memory is available to issue the needed DNR query or to
Osstatus 34018
build the DNR cache. error -23047 dnrErr: The domain name server has returned an error. error -23046 noAnsErr: None of the known name servers are responding. error -23045 authNameErr: The domain name does not exist. error -23044 noNameServer: http://stackoverflow.com/questions/16906111/ios-where-to-find-the-full-list-of-osstatus-codes-for-ios No name server can be found for the specified name string. error -23043 noResultProc: No result procedure is passed to the address translation call when the resolver must be used to find the address. error -23042 cacheFault: The name specified cannot be found in the cache. The domain name resolver will now query the domain name server and return the answer in the callback procedure. error -23041 nameSyntaxErr: The <
a GitHub account https://gist.github.com/zoul/633827 Sign in Create a gist now Instantly share code, notes, and snippets. Star 18 Fork 2 zoul/OSStatus.m Created Oct 19, 2010 Embed What would you like to do? Embed Embed this gist in your website. Embed Share Copy osstatus error sharable URL for this gist. Share Clone via HTTPS Clone with Git or checkout with SVN using the repository's web address. HTTPS Learn more about clone URLs Download ZIP Code Revisions 1 Stars 18 Forks 2 Decode OSStatus error osstatus error -43 codes into strings. Raw OSStatus.m NSString *NSStringFromOSStatus(OSStatus errCode) { if (errCode == noErr) return @"noErr"; char message[5] = {0}; *(UInt32*) message = CFSwapInt32HostToBig(errCode); return [NSString stringWithCString:message encoding:NSASCIIStringEncoding]; } revolc commented Apr 26, 2013 gr8t! ShonFrazier commented Sep 15, 2014 (NSString *) CreateTypeStringWithOSType(OSType inType); // ;-) Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment Contact GitHub API Training Shop Blog About © 2016 GitHub, Inc. Terms Privacy Security Status Help You can't perform that action at this time. You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.