aboutsummaryrefslogtreecommitdiffstats
path: root/util/error.lua
Commit message (Collapse)AuthorAgeFilesLines
* util.error: Add a wrapper for common parametersKim Alvefur2020-08-281-0/+7
| | | | Lets you set up source and registry once per module
* util.error: Add a 'source' parameter where origin module can be mentionedKim Alvefur2020-08-281-1/+2
|
* util.error: Add configuration for including traceback in tostring()Matthew Wild2020-08-281-2/+12
|
* util.error: Allow optional tracebacks to be injected on errorsMatthew Wild2020-08-281-0/+15
| | | | This allows extra debug info to be provided for development purposes.
* util.error: Move default for numeric error code to net.http.serverKim Alvefur2019-12-141-1/+1
| | | | | | Stanza errors can also have numbers but these are a legacy thing and rarely used, except in MUC. HTTP errors on the other hand always have a number.
* util.error: Write down some thoughts in commentsKim Alvefur2019-12-081-0/+7
|
* util.error: Add well-known field 'code' in error templatesKim Alvefur2019-11-011-0/+1
| | | | Intended to be for HTTP-ish numeric status codes
* util.error: Fix traceback due to missing text fieldKim Alvefur2019-07-101-1/+1
|
* util.error: Add a function for creating an error object from an error stanzaKim Alvefur2018-12-301-0/+12
|
* util.error: Add new util library for structured errorsMatthew Wild2018-12-301-0/+40