Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | util.error: Add well-known field 'extra' | Kim Alvefur | 2020-09-26 | 1 | -0/+2 |
| | | | | | A place for various extra fields and edge cases of the stanza error data model, e.g. the URI field of <gone> | ||||
* | util.error: Simplify error creation flow | Matthew Wild | 2020-09-25 | 1 | -1/+13 |
| | |||||
* | util.error: Switch coerce() to use new() and change 'native' to context ↵ | Matthew Wild | 2020-09-25 | 1 | -5/+3 |
| | | | | field 'wrapped_error' | ||||
* | util.error: Have init() return an object to allow API extensibility via ↵ | Matthew Wild | 2020-09-25 | 1 | -3/+5 |
| | | | | additional methods | ||||
* | util.error: Minor tweaks to error creation code to prepare for future changes | Matthew Wild | 2020-09-25 | 1 | -2/+5 |
| | |||||
* | util.error: Simplify error creation - remove ability to set context from ↵ | Matthew Wild | 2020-09-25 | 1 | -1/+1 |
| | | | | templates, and remove default context | ||||
* | util.error: Add unique 'instance_id' to error objects | Matthew Wild | 2020-09-25 | 1 | -0/+2 |
| | |||||
* | util.error: Add a wrapper for common parameters | Kim Alvefur | 2020-08-28 | 1 | -0/+7 |
| | | | | Lets you set up source and registry once per module | ||||
* | util.error: Add a 'source' parameter where origin module can be mentioned | Kim Alvefur | 2020-08-28 | 1 | -1/+2 |
| | |||||
* | util.error: Add configuration for including traceback in tostring() | Matthew Wild | 2020-08-28 | 1 | -2/+12 |
| | |||||
* | util.error: Allow optional tracebacks to be injected on errors | Matthew Wild | 2020-08-28 | 1 | -0/+15 |
| | | | | This allows extra debug info to be provided for development purposes. | ||||
* | util.error: Move default for numeric error code to net.http.server | Kim Alvefur | 2019-12-14 | 1 | -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 comments | Kim Alvefur | 2019-12-08 | 1 | -0/+7 |
| | |||||
* | util.error: Add well-known field 'code' in error templates | Kim Alvefur | 2019-11-01 | 1 | -0/+1 |
| | | | | Intended to be for HTTP-ish numeric status codes | ||||
* | util.error: Fix traceback due to missing text field | Kim Alvefur | 2019-07-10 | 1 | -1/+1 |
| | |||||
* | util.error: Add a function for creating an error object from an error stanza | Kim Alvefur | 2018-12-30 | 1 | -0/+12 |
| | |||||
* | util.error: Add new util library for structured errors | Matthew Wild | 2018-12-30 | 1 | -0/+40 |