From 51e6934734c082492e28eafffb09159ce2ad1548 Mon Sep 17 00:00:00 2001 From: Thijs Schreijer Date: Tue, 5 Mar 2024 19:33:01 +0100 Subject: [PATCH] fix(docs): link to included LTN documents --- docs/ltn12.html | 2 +- docs/socket.html | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/docs/ltn12.html b/docs/ltn12.html index fe3e3a0f..30bc564e 100644 --- a/docs/ltn12.html +++ b/docs/ltn12.html @@ -40,7 +40,7 @@

LTN12

The ltn12 namespace implements the ideas described in - + LTN012, Filters sources and sinks. This manual simply describes the functions. Please refer to the LTN for a deeper explanation of the functionality provided by this module. diff --git a/docs/socket.html b/docs/socket.html index c1481144..b4db8232 100644 --- a/docs/socket.html +++ b/docs/socket.html @@ -164,6 +164,9 @@

The socket namespace

try function that allows for cleanup before the exception is raised. +This implements the ideas described in + +LTN012, Using finalized exceptions.

@@ -207,6 +210,9 @@

The socket namespace

function only catches exceptions thrown by the try and newtry functions. It does not catch normal Lua errors. +This implements the ideas described in + +LTN012, Using finalized exceptions.

@@ -425,6 +431,9 @@

The socket namespace

Throws an exception in case ret1 is falsy, using ret2 as the error message. The exception is supposed to be caught by a protected function only. +This implements the ideas described in + +LTN012, Using finalized exceptions.