1
0
mirror of synced 2025-12-21 19:11:14 -05:00
Files
airbyte/docs/reference/api/generated-api-html
Jenny Brown b3c65050a2 Standardize error structure in json responses. (#4170)
* Standardize error structure in json responses. Use named types for raising exceptions instead of http status codes peppered throughout the code.

* Whitespace fix

* Rename fix

* Consistent naming for things related to KnownException, for traceability.

* For input field validation errors, list the affected fields as separate json objects. Also uses cleaner helpers for exception mappers.

* Whitespace

* Rename to clarify exception class hierarchy

* Wrap not found responses in a schema and adjusted mapper to match

* Include issue id in comments.
2021-06-22 17:42:48 -05:00
..