- Inside Macintosh: AppleScript Language Guide / Part 3 - Appendixes
Appendix C - Error Messages
This appendix lists error numbers and error messages for the following types of errors:
- Operating System errors are errors that occur when AppleScript or an application requests services from the Operating System. They are rare, and more important, there's usually nothing you can do about them in a script. A few, such as
"File <name>wasn't found" and "Application isn't running", make sense for scripts to handle.
- Apple event errors occur when Apple events sent by AppleScript fail. Many of these errors, such as
"No user interaction allowed", are of interest to users. Also of interest to users are errors that have to do with reference forms, as well as errors like "No such object".
- Apple Event Registry errors are errors returned by applications when handling standard AppleScript commands (commands that apply to
all applications). Many of these, such as "The specified object is
a property, not an element", are of interest to users and should
be handled.
- AppleScript errors are errors that occur when AppleScript processes script statements. Nearly all of these are of interest to users.
For errors returned by an application, see the documentation for that application.
Appendix Contents
- Operating System Errors
-
- Apple Event Errors
-
- Apple Event Registry Errors
-
- AppleScript Errors
-
© Apple Computer, Inc.
13 JUL 1996