下面的代碼提供了錯誤Variable is undefined (500)
試圖以連接error.no回聲時:克隆的VBScript Err對象
'Raise an error to represent an issue with the main code
err.raise 999
dim error
set error = err
'Call another function that could also throw an error
SendMail "To=me","From=me","Subject=Failure in main code"
'Report both errors
wscript.echo "First problem was - Error code:" & error & vbcrlf & "Subsequent problem was - Error code:" & err
是否有可能克隆Err對象?