aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2020-12-09 14:00:13 +0000
committerMatthew Wild <mwild1@gmail.com>2020-12-09 14:00:13 +0000
commit600e9c1f40525deb0ebba41bfb53c7b767d4e6ae (patch)
tree91c34975944c4067915ed9eb4caa4ff2f6670089 /util
parentd9c8000cc75a554ef99315f16a28c47395e0afbb (diff)
downloadprosody-600e9c1f40525deb0ebba41bfb53c7b767d4e6ae.tar.gz
prosody-600e9c1f40525deb0ebba41bfb53c7b767d4e6ae.zip
util.error: Expose is_error on registry objects for convenience
Diffstat (limited to 'util')
-rw-r--r--util/error.lua1
1 files changed, 1 insertions, 0 deletions
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