Explorar el Código

Fixed trycatch example code

Alan Rawkins hace 8 años
padre
commit
36abd28dbe
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      modules/monkey/docs/language/error-handling.md

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

@@ -44,7 +44,7 @@ Class CustomException Extends Throwable
   	End
 End
 
-Function Main()
+Function Main:Void()
 	Local somethingWrong:=True
 	Try
 		If somethingWrong=True Then Throw New CustomException ("Custom Exception detected")