1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-06 00:07:44 +01:00
unleash.unleash/src/lib/error
Gastón Fournier feb6825023
chore: add a generic error for limit's exeeded (#6452)
## About the changes
We don't have a meaningful error for limits established by the
application. This could be a good starting point.

The error code is 400 cause I couldn't find anything better. 

The name of the error was picked from UnleashApiErrorTypes:
2d8e9f87ff/src/lib/error/unleash-error.ts (L4-L34)
2024-03-06 19:17:31 +01:00
..
archivedfeature-error.ts fix: return 400 when enabling env of archived toggle (#6049) 2024-01-26 16:02:17 +02:00
bad-data-error.ts
content-type-error.ts
db-error.ts
disabled-error.ts
exceeds-limit-error.ts chore: add a generic error for limit's exeeded (#6452) 2024-03-06 19:17:31 +01:00
feature-has-tag-error.ts
forbidden-error.ts
from-legacy-error.ts
incompatible-project-error.ts
index.ts
invalid-operation-error.ts
invalid-token-error.ts
minimum-one-environment-error.ts
name-exists-error.ts
not-implemented-error.ts
notfound-error.ts
operation-denied-error.ts
owasp-validation-error.ts
password-mismatch.ts
password-undefined.ts
pattern-error.ts
permission-error.ts
project-without-owner-error.ts
role-in-use-error.ts
unauthorized-error.ts
unleash-error.test.ts
unleash-error.ts chore: add a generic error for limit's exeeded (#6452) 2024-03-06 19:17:31 +01:00
used-token-error.ts