Error Handling
It is virtually impossible to corrupt an object with any ObjectTools methods. ObjectTools uses extensive error checking to ensure that all object handles and item references are valid, and stops before any damage can be done.
When an error does occur, such as passing a bad object handle or item reference, ObjectTools generates an error, sets the OK variable to zero, and returns a null value. For more on ObjectTools error handling, see the documentation for OT SetErrorHandler

