- 异常处理
PocoTargetTimeout
from poco.exceptions import PocoTargetTimeout
try:
....
except PocoTargetTimeout:
# bugs here as the panel not shown
raise
PocoNoSuchNodeException
from poco.exceptions import PocoNoSuchNodeException
try:
....
except PocoNoSuchNodeException:
# If attempt to operate inexistent nodes, an exception will be thrown
pass