From 23241717bf91c4317065828bedafd05ebb97c1ef Mon Sep 17 00:00:00 2001 From: Thijs Schreijer Date: Tue, 5 Mar 2024 21:18:24 +0100 Subject: [PATCH] fix(docs): link to included LTN documents (#426) --- 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 fe3e3a0..30bc564 100644 --- a/docs/ltn12.html +++ b/docs/ltn12.html @@ -40,7 +40,7 @@ Pump, Support, Library">

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 c148114..b4db823 100644 --- a/docs/socket.html +++ b/docs/socket.html @@ -164,6 +164,9 @@ Creates and returns a clean 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 @@ 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. +This implements the ideas described in + +LTN012, Using finalized exceptions.

@@ -425,6 +431,9 @@ socket.try(ret1 [, ret2 ... retN])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.