Instance Property

scriptErrorExpectedTypeDescriptor

Sets a descriptor for the expected type that will be put in the reply Apple event if the sender requested a reply, execution of the receiver completes, and an error number was set.

Declaration

var scriptErrorExpectedTypeDescriptor: NSAppleEventDescriptor? { get set }

Parameters

errorExpectedTypeDescriptor

A descriptor that specifies a type.

See Also

Handling script execution errors

var scriptErrorNumber: Int

Sets a script error number that is associated with the execution of the command and is returned in the reply Apple event, if a reply was requested by the sender.

var scriptErrorOffendingObjectDescriptor: NSAppleEventDescriptor?

Sets a descriptor for an object that will be put in the reply Apple event if the sender requested a reply, execution of the receiver completes, and an error number was set.

var scriptErrorString: String?

Sets a script error string that is associated with execution of the command.