catch error

catch {
    if {[ttk::style layout TreeCtrl] ne ""} {
 set tile 1
 set tileFull 1
    }
}

原文地址:https://www.cnblogs.com/greencolor/p/2180213.html