Files
OpenROAD/test/error1.tcl
2025-06-30 23:10:20 +00:00

11 lines
223 B
Tcl

# error handling
if { [catch { utl::error ORD 1 "catch a luser" } result] } {
puts "caught '$result'"
}
if { [catch { read_def xxx } result] } {
puts "caught '$result'"
}
catch { utl::error ORD 1"last chance" } error