From 8d4e240f6ae50d9b22ddc44f5e207018935da907 Mon Sep 17 00:00:00 2001 From: Diego Nehab Date: Tue, 8 Feb 2005 10:01:01 +0000 Subject: Forward server working on Mac OS X... --- doc/socket.html | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'doc/socket.html') diff --git a/doc/socket.html b/doc/socket.html index f638fd9..18c71d1 100644 --- a/doc/socket.html +++ b/doc/socket.html @@ -145,7 +145,10 @@ socket.protect(func)

-Converts a function that throws exceptions into a safe function. +Converts a function that throws exceptions into a safe function. This +function only catches exceptions thrown by the try +and newtry functions. It does not catch normal +Lua errors.

@@ -346,7 +349,9 @@ socket.try(ret1 [, ret2 ... retN])

-Throws an exception in case of error. +Throws an exception in case of error. The exception can only be caught +by the protect function. It does not explode +into an error message.

-- cgit v1.2.3-55-g6feb