This function is used to cancel the execution of a process when an un-handled error has occurred.
script.abort(reasonText)reasonText - the line of text to output which explains why the process is aborting.script.abort('Something was not as expected.');