From 600e9c1f40525deb0ebba41bfb53c7b767d4e6ae Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Wed, 9 Dec 2020 14:00:13 +0000 Subject: util.error: Expose is_error on registry objects for convenience --- util/error.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'util') diff --git a/util/error.lua b/util/error.lua index fc7c7f5c..e64dfbc5 100644 --- a/util/error.lua +++ b/util/error.lua @@ -123,6 +123,7 @@ local function init(source, namespace, registry) return nil, wrap(err); end; wrap = wrap; + is_error = is_error; }; end -- cgit v1.2.3