throw ScriptError with exit_status