1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-20 00:08:02 +01:00
unleash.unleash/src/lib/error
Thomas Heartman b3054c9277
Chore: remove "dataPath" from data OpenAPI data errors. (#5272)
The `dataPath` was present (but not in the type) in previous versions of
the
error library that we use. But with the recent major upgrade, it's
been removed and the `instancePath` property has finally come into use.

This PR removes all the handling for the previous property and
replaces it with `instancePath`. Because the `dataPath` used full
stops and the `instancePath` uses slashes, we need to change a little
bit of the handling too.
2023-11-07 09:26:14 +01: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 refactor: move status codes into classes (#4200) 2023-07-11 09:20:11 +02: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 refactor: move status codes into classes (#4200) 2023-07-11 09:20:11 +02:00
used-token-error.ts refactor: move status codes into classes (#4200) 2023-07-11 09:20:11 +02:00