aboutsummaryrefslogtreecommitdiffstats
path: root/util/error.lua
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
commit54d7877a072604830fae5a6d21d7fb592a18f44d (patch)
tree91c34975944c4067915ed9eb4caa4ff2f6670089 /util/error.lua
parent919a05543a1a77b93298b349343fb697472e6d75 (diff)
downloadprosody-54d7877a072604830fae5a6d21d7fb592a18f44d.tar.gz
prosody-54d7877a072604830fae5a6d21d7fb592a18f44d.zip
util.error: Expose is_error on registry objects for convenience
Diffstat (limited to 'util/error.lua')
-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