file writing error codes

Leigh Marble's icon

I thought I'd start a thread to document error codes generated while trying to write or create files. Someone was asking about this not too long back in this thread, and it seemed an answer wasn't found:

So here's two from trial-and-error:

error -1 creating file
- means that directory does not exist

error -5000 creating file
- means that user does not have permission to write to directory

Hope this helps someone... please add any error codes you find!

Leigh

Leigh Marble's icon

I'm running into some issues with these errors again...

Would someone at Cycling please confirm (or correct) at least those two error codes?

Even better would be a complete listing of error codes, but I understand that might not be a document that's ready to be shared with the world.

Thanks!
Leigh

Leigh Marble's icon

PS: I considered moving this to the Dev forum, but it's not technically just an issue about external object development.

Leafcutter John's icon

Quite a lot of error codes here:

Leigh Marble's icon

Quote: Leafcutter John wrote on Thu, 17 April 2008 10:30
----------------------------------------------------
> Quite a lot of error codes here:
>
> http://www.appleerrorcodes.com/
>
----------------------------------------------------

Thanks, but I believe those to be a different set of error codes - OS9 I believe.

Leigh

Timothy Place's icon

On 2008 Apr 17, at 1:12 PM, Leigh Marble wrote:
>
> Quote: Leafcutter John wrote on Thu, 17 April 2008 10:30
> ----------------------------------------------------
>> Quite a lot of error codes here:
>>
>> http://www.appleerrorcodes.com/
>>
> ----------------------------------------------------
>
> Thanks, but I believe those to be a different set of error codes -
> OS9 I believe.

Most of them are still relevant. If you see error -43, it's the same
on OS9 and OSX and it's what ends up getting propagated up to the
error posted by Max. Etc.

best,
Tim
_________________
Tap.Tools / Teabox / Hipno / Hemisphere
http://electrotap.com

Peter Castine's icon

These are OS error codes that are percolating up to Max. If you're on Mac you'll be seeing File Manager error codes (mostly), on Windows the equivalent. But the numbers will be different (mostly). The numbers will be documented in the developer materials for either platform.