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 | 600e9c1f40525deb0ebba41bfb53c7b767d4e6ae (patch) | |
tree | 91c34975944c4067915ed9eb4caa4ff2f6670089 | |
parent | d9c8000cc75a554ef99315f16a28c47395e0afbb (diff) | |
download | prosody-600e9c1f40525deb0ebba41bfb53c7b767d4e6ae.tar.gz prosody-600e9c1f40525deb0ebba41bfb53c7b767d4e6ae.zip |
util.error: Expose is_error on registry objects for convenience
-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 |