通过以下几种方法可以捕捉 windows 错误:1. 使用 etlasterror() 函数检索最近发生的错误代码;3....