1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-07-17 13:46:47 +02:00
unleash.unleash/src/lib/error
Ivar Conradi Østhus a50d0e2a21
fix: improve API error-handling (#1301)
Unleash is an API and it would simplyfy a lot of the specific
errors could carry the expected HTTP status code for this error.
This would eliminate the need for a gigantic switch/case in the
handle-errors function.
2022-01-26 13:45:22 +01:00
..
bad-data-error.ts fix: improve API error-handling (#1301) 2022-01-26 13:45:22 +01:00
base-error.ts fix: improve API error-handling (#1301) 2022-01-26 13:45:22 +01:00
db-error.ts Wip/environments (#880) 2021-07-07 10:46:50 +02:00
disabled-error.ts fix: improve API error-handling (#1301) 2022-01-26 13:45:22 +01:00
feature-has-tag-error.ts feat: add ui-bootstrap endpoint (#790) 2021-04-20 12:32:02 +02:00
incompatible-project-error.ts fix: add constraint for changing project. (#1049) 2021-10-21 10:29:09 +02:00
invalid-operation-error.ts fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
invalid-token-error.ts Reset token (#786) 2021-04-16 15:29:23 +02:00
minimum-one-environment-error.ts fix: disable projects (#1085) 2021-11-04 21:09:52 +01:00
name-exists-error.ts fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
no-access-error.ts feat: Default roles and RBAC permission checker. (#735) 2021-03-11 22:51:58 +01:00
notfound-error.ts feat: add ui-bootstrap endpoint (#790) 2021-04-20 12:32:02 +02:00
operation-denied-error.ts task: Ban changes to variants through feature (#1130) 2021-11-25 14:53:58 +01:00
owasp-validation-error.ts Reset token (#786) 2021-04-16 15:29:23 +02:00
password-mismatch.ts fix: improve API error-handling (#1301) 2022-01-26 13:45:22 +01:00
password-undefined.ts fix: handle password being undefined when validating (#809) 2021-04-27 15:35:10 +02:00
role-in-use-error.ts feat: custom project roles (#1220) 2022-01-13 11:14:17 +01:00
used-token-error.ts Reset token (#786) 2021-04-16 15:29:23 +02:00