Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | util.error: Use is_error() instead of is_err() everywhere | Kim Alvefur | 2024-10-29 | 1 | -7/+7 |
| | | | | Continuation of 4b39691a274e | ||||
* | util.error: Add test for #1805 | Kim Alvefur | 2023-04-19 | 1 | -0/+3 |
| | | | | Checks that it doesn't fail on a stanza without <error> tag | ||||
* | util.error: Add coerce and wrap methods to registry(?) objects | Matthew Wild | 2020-12-09 | 1 | -0/+70 |
| | |||||
* | util.error: Drop registry initialization with namespace as key | Kim Alvefur | 2020-09-28 | 1 | -11/+4 |
| | | | | Enough complexity with compact vs normal and with/without namespace | ||||
* | util.error: Expand compact registries into normal form internally | Kim Alvefur | 2020-09-28 | 1 | -0/+32 |
| | | | | Also the exposed form on the table returned from init() | ||||
* | util.error: Add a "compact mode" for registries | Kim Alvefur | 2020-09-28 | 1 | -0/+21 |
| | | | | Inspired by the older registry in pubsub.lib.lua | ||||
* | util.error: Cover registry initialization in test | Kim Alvefur | 2020-09-28 | 1 | -0/+20 |
| | |||||
* | util.error: Collect Application-Specific Conditions from stanza errors | Kim Alvefur | 2020-09-26 | 1 | -1/+2 |
| | |||||
* | util.error: Extract error originator from stanza errors | Kim Alvefur | 2020-09-26 | 1 | -1/+2 |
| | |||||
* | util.error: Add well-known field 'extra' | Kim Alvefur | 2020-09-26 | 1 | -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 templates | Kim Alvefur | 2019-11-01 | 1 | -0/+2 |
| | | | | Intended to be for HTTP-ish numeric status codes | ||||
* | util.error: Add tests | Kim Alvefur | 2019-07-29 | 1 | -0/+68 |