소스 검색

Update error-handling.md

abakobo 8 년 전
부모
커밋
5ebf9812aa
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      modules/monkey/docs/language/error-handling.md

+ 1 - 1
modules/monkey/docs/language/error-handling.md

@@ -47,7 +47,7 @@ End
 Function Main:Void()
 	Local somethingWrong:=True
 	Try
-		If somethingWrong=True Then Throw New CustomException ("Custom Exception detected")
+		If somethingWrong Then Throw New CustomException ("Custom Exception detected")
 	Catch err:CustomException
 		Print err.msg
 	End