aboutsummaryrefslogtreecommitdiffstats
path: root/util/error.lua
Commit message (Collapse)AuthorAgeFilesLines
* 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