1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-06 00:07:44 +01:00
unleash.unleash/src/lib/error
andreas-unleash 4a2d1b0364
fix: return 400 when enabling env of archived toggle (#6049)
Creates a new ArchivedFeatureError.
Throw this error when trying to toggle a feature environment for an
archived feature.

Closes
https://github.com/orgs/Unleash/projects/8/views/1?pane=issue&itemId=51242922

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2024-01-26 16:02:17 +02: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 Chore: remove "dataPath" from data OpenAPI data errors. (#5272) 2023-11-07 09:26:14 +01:00
content-type-error.ts refactor: move status codes into classes (#4200) 2023-07-11 09:20:11 +02:00
db-error.ts Wip/environments (#880) 2021-07-07 10:46:50 +02:00
disabled-error.ts refactor: move status codes into classes (#4200) 2023-07-11 09:20:11 +02:00
feature-has-tag-error.ts refactor: move status codes into classes (#4200) 2023-07-11 09:20:11 +02:00
forbidden-error.ts refactor: move status codes into classes (#4200) 2023-07-11 09:20:11 +02:00
from-legacy-error.ts feat: biome lint (#4853) 2023-09-29 14:18:21 +02:00
incompatible-project-error.ts refactor: move status codes into classes (#4200) 2023-07-11 09:20:11 +02:00
index.ts fix: export NotFoundError and ISegmentService in internals.ts (#4997) 2023-10-11 14:31:45 +03:00
invalid-operation-error.ts refactor: move status codes into classes (#4200) 2023-07-11 09:20:11 +02:00
invalid-token-error.ts refactor: move status codes into classes (#4200) 2023-07-11 09:20:11 +02:00
minimum-one-environment-error.ts refactor: move status codes into classes (#4200) 2023-07-11 09:20:11 +02:00
name-exists-error.ts refactor: move status codes into classes (#4200) 2023-07-11 09:20:11 +02:00
not-implemented-error.ts refactor: move status codes into classes (#4200) 2023-07-11 09:20:11 +02:00
notfound-error.ts refactor: move status codes into classes (#4200) 2023-07-11 09:20:11 +02:00
operation-denied-error.ts refactor: move status codes into classes (#4200) 2023-07-11 09:20:11 +02:00
owasp-validation-error.ts refactor: move status codes into classes (#4200) 2023-07-11 09:20:11 +02:00
password-mismatch.ts refactor: move status codes into classes (#4200) 2023-07-11 09:20:11 +02:00
password-undefined.ts refactor: move status codes into classes (#4200) 2023-07-11 09:20:11 +02:00
pattern-error.ts 1-1334: show short error message when validation fails (#4617) 2023-09-06 10:20:10 +00:00
permission-error.ts Biome1.5.1 (#5867) 2024-01-12 09:25:59 +00:00
project-without-owner-error.ts refactor: move status codes into classes (#4200) 2023-07-11 09:20:11 +02:00
role-in-use-error.ts refactor: move status codes into classes (#4200) 2023-07-11 09:20:11 +02:00
unauthorized-error.ts refactor: move status codes into classes (#4200) 2023-07-11 09:20:11 +02:00
unleash-error.test.ts Chore: remove "dataPath" from data OpenAPI data errors. (#5272) 2023-11-07 09:26:14 +01:00
unleash-error.ts chore(deps): update dependency @biomejs/biome to v1.4.0 (#5288) 2023-11-28 09:32:00 +00:00
used-token-error.ts refactor: move status codes into classes (#4200) 2023-07-11 09:20:11 +02:00