diff options
author | Matthew Wild <mwild1@gmail.com> | 2020-12-09 14:00:13 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2020-12-09 14:00:13 +0000 |
commit | 54d7877a072604830fae5a6d21d7fb592a18f44d (patch) | |
tree | 91c34975944c4067915ed9eb4caa4ff2f6670089 /util/error.lua | |
parent | 919a05543a1a77b93298b349343fb697472e6d75 (diff) | |
download | prosody-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.lua | 1 |
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 |