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