2013-08-22 2 views

답변

3
오류 처리를 사용 TRY의 경우

그 결과 테스트 :

>> err: try [read http://localhost] 
** Access error: protocol error: "Timeout" 

>> if all [error? err err/id = 'protocol err/arg1 = "Timeout"] ["Got a timeout."] 
== "Got a timeout."