So, as we know, sometimes error codes that we get are system error codes that we have to look up (like IOException)
We used to be able to just look at the Apple documentation and glance the enum to find the right one.
Then Apple made their docs hard to read.
Now you have to dig around framework headers to find the *Error.h
files and look through those.
No fun either.
I wrote a quick app (sorry, but it would have been a lot of declares) to look up NSError codes.
Just type in the number (don’t include the - if it has one) and if it’s an error code with a Localized Failure Reason the window will slide down and display the error reasoning to you! Super simple, super easy.
Huge thanks to @Sam Rowlands for Iconographer, and AppWrapper
(I had to sign externally because my dev subscription expired but my signing cert has not!)
NSErrorLookup