1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-02-04 00:18:01 +01: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
disabled-error.ts fix: improve API error-handling (#1301) 2022-01-26 13:45:22 +01:00
feature-has-tag-error.ts
incompatible-project-error.ts
invalid-operation-error.ts
invalid-token-error.ts
minimum-one-environment-error.ts
name-exists-error.ts
no-access-error.ts
notfound-error.ts
operation-denied-error.ts
owasp-validation-error.ts
password-mismatch.ts fix: improve API error-handling (#1301) 2022-01-26 13:45:22 +01:00
password-undefined.ts
role-in-use-error.ts
used-token-error.ts