Software /
code /
prosody
File
teal-src/util/interpolation.d.tl @ 11538:30feeb4d9d0b
core.certmanager: Catch error from lfs
lfs.dir() throws a hard error if there's a problem, e.g. no such
directory or permission issues. This also gets called early enough that
the main loop error protection hasn't been brought up yet, causing a
proper crash.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 07 May 2021 16:47:58 +0200 |
parent | 11432:113f3912c7cb |
line wrap: on
line source
local type renderer = function (string, { string : any }) : string local type filter = function (string, any) : string local record lib new : function (string, string, funcs : { string : filter }) : renderer end return lib