aboutsummaryrefslogtreecommitdiffstats
path: root/spec/util_error_spec.lua
Commit message (Collapse)AuthorAgeFilesLines
* util.error: Add coerce and wrap methods to registry(?) objectsMatthew Wild2020-12-091-0/+70
|
* util.error: Drop registry initialization with namespace as keyKim Alvefur2020-09-281-11/+4
| | | | Enough complexity with compact vs normal and with/without namespace
* util.error: Expand compact registries into normal form internallyKim Alvefur2020-09-281-0/+32
| | | | Also the exposed form on the table returned from init()
* util.error: Add a "compact mode" for registriesKim Alvefur2020-09-281-0/+21
| | | | Inspired by the older registry in pubsub.lib.lua
* util.error: Cover registry initialization in testKim Alvefur2020-09-281-0/+20
|
* util.error: Collect Application-Specific Conditions from stanza errorsKim Alvefur2020-09-261-1/+2
|
* util.error: Extract error originator from stanza errorsKim Alvefur2020-09-261-1/+2
|
* util.error: Add well-known field 'extra'Kim Alvefur2020-09-261-0/+8
| | | | | A place for various extra fields and edge cases of the stanza error data model, e.g. the URI field of <gone>
* util.error: Add well-known field 'code' in error templatesKim Alvefur2019-11-011-0/+2
| | | | Intended to be for HTTP-ish numeric status codes
* util.error: Add testsKim Alvefur2019-07-291-0/+68