Reputation:
Does anyone know if there Is there an Applescript Error Log that tells you what the error numbers mean?
Upvotes: 3
Views: 3156
Reputation:
Local Link to the list with error numbers/messages:
xcdoc://osx/documentation/AppleScript/Conceptual/AppleScriptLangGuide/reference/ASLR_error_codes.html
You can also use the command line utility macerror
.
Here what the "man"ual page has to say (man macerror
):
The macerror script translates Mac error numbers into their symbolic name and description.
How to use: open Terminal.app
and type - for example - macerror -43
or any other error number.
Result: Mac OS error -43 (fnfErr): File not found.
Upvotes: 5
Reputation: 89509
The authoritative list is hiding in one of the many .h files within the MacOS SDK, but Apple documentation also has a very handy & useful page as well. I've attached the link below:
Error Numbers and Error Messages.
Upvotes: 5