Charis
df742bdb3b
refactor(studio): rename ResponseError to StudioError ( #52707 )
...
## What
Moves the `ResponseError` class (`types/base.ts`) and the classified
error classes (`types/api-errors.ts`) into
`lib/errors/studio-errors.ts`, and renames `ResponseError` to
`StudioError`.
## Why
Studio's error classification is being expanded to cover errors that
don't come from API responses (thrown network failures, aborted
requests, unexpected client errors). The API-specific name and location
no longer fit. Landing the rename on its own keeps the follow-up PR,
which introduces the classified error model, small and reviewable.
## Notes for reviewers
- Mechanical change, no behavior change. Most of the diff is a one-line
import change per file plus import re-sorting by Prettier.
- Files that only use the type now use `import type { StudioError }`.
- `ResponseError` is no longer re-exported from `@/types`; there are no
compatibility shims at the old paths.
- Unrelated identifiers like `QueryResponseError` and
`parseResponseErrors` are unchanged.
2026-11-03 11:09:30 -05:00
..
2026-10-22 00:48:56 +00:00
2026-11-03 11:09:30 -05:00
2026-10-14 07:16:00 +00:00
2026-10-29 14:44:04 -06:00
2026-09-28 18:21:34 +03:00
2026-10-28 09:19:25 +01:00
2026-10-14 12:56:55 +02:00
2026-07-07 14:34:29 +10:00
2026-10-23 18:51:27 +08:00
2026-11-03 11:09:30 -05:00
2026-10-14 12:56:55 +02:00
2026-10-22 14:30:49 +02:00
2026-10-14 12:56:55 +02:00
2026-10-26 07:58:22 -04:00
2026-10-27 20:50:25 +08:00
2026-10-14 12:56:55 +02:00
2026-10-14 12:56:55 +02:00
2026-09-11 17:05:26 +10:00
2026-10-23 18:51:27 +08:00
2026-10-23 18:51:27 +08:00
2026-10-14 12:56:55 +02:00
2026-10-16 13:52:23 +01:00
2026-09-22 19:09:25 +08:00
2026-10-14 12:56:55 +02:00
2026-09-25 11:45:46 +08:00
2026-10-23 18:51:27 +08:00
2026-10-22 00:48:56 +00:00
2026-10-14 12:56:55 +02:00
2026-10-14 12:56:55 +02:00
2026-10-14 12:56:55 +02:00
2026-11-02 22:48:08 +08:00
2026-10-23 18:51:27 +08:00
2026-05-18 19:02:51 +10:00
2026-10-14 12:56:55 +02:00
2026-10-15 12:22:16 +03:00
2026-10-15 12:22:16 +03:00
2026-10-14 12:56:55 +02:00
2026-10-22 00:48:56 +00:00
2026-09-11 01:52:21 +00:00
2026-10-14 12:56:55 +02:00
2026-08-26 16:59:44 +08:00
2026-08-26 16:59:44 +08:00
2026-09-22 10:07:28 +10:00
2026-10-14 12:56:55 +02:00
2026-10-14 12:56:55 +02:00
2026-10-14 12:56:55 +02:00
2026-06-30 11:24:48 -04:00
2026-10-14 12:56:55 +02:00
2026-09-24 09:56:31 +10:00
2026-10-14 12:56:55 +02:00
2026-07-21 16:52:03 +08:00
2026-04-30 10:53:24 +00:00
2026-10-14 12:56:55 +02:00
2026-10-14 12:56:55 +02:00
2026-10-14 12:56:55 +02:00
2026-04-30 10:53:24 +00:00
2026-10-15 11:31:46 +02:00
2026-04-16 15:31:04 +02:00
2026-10-14 07:16:00 +00:00
2026-10-14 12:56:55 +02:00
2026-05-06 10:53:49 +08:00
2026-11-03 11:09:30 -05:00
2026-04-16 15:31:04 +02:00
2026-10-14 12:56:55 +02:00
2026-06-08 10:51:04 -06:00
2026-10-28 14:07:04 +01:00
2026-04-28 11:33:53 +02:00
2026-06-02 15:37:42 +02:00
2026-07-29 00:48:56 +08:00
2026-09-11 17:05:26 +10:00
2026-06-02 23:36:14 +10:00
2026-09-01 00:52:32 +08:00
2026-10-14 12:56:55 +02:00
2026-10-14 12:56:55 +02:00
2026-10-23 18:51:27 +08:00
2026-10-20 10:44:08 +01:00
2026-10-14 12:56:55 +02:00
2026-10-23 18:51:27 +08:00
2026-07-03 15:00:43 +10:00
2026-09-10 16:45:54 +08:00
2026-10-14 12:56:55 +02:00
2026-07-21 08:22:43 +10:00
2026-04-01 10:22:37 +02:00
2026-10-14 12:56:55 +02:00
2026-06-18 15:34:56 +08:00
2026-10-28 14:07:04 +01:00
2026-08-26 15:05:28 +08:00
2026-09-11 17:05:26 +10:00
2026-05-13 14:57:08 -04:00
2026-09-09 15:36:35 +08:00
2026-10-21 06:54:16 -04:00
2026-02-13 11:48:12 +01:00
2026-04-30 10:53:24 +00:00
2026-10-23 18:51:27 +08:00
2026-09-01 13:13:30 +02:00
2026-04-28 09:09:59 -06:00
2026-09-01 13:13:30 +02:00
2026-07-21 08:22:43 +10:00
2026-10-14 12:56:55 +02:00
2026-10-14 12:56:55 +02:00
2026-06-29 15:46:16 +02:00
2026-07-06 17:38:03 +08:00
2026-07-29 00:48:56 +08:00
2026-09-22 12:21:40 +10:00
2026-09-16 16:35:26 +08:00
2026-06-16 23:59:58 +02:00
2026-07-23 08:52:22 +10:00
2026-08-25 15:38:57 +02:00
2026-09-11 17:05:26 +10:00
2026-10-21 06:54:16 -04:00
2026-08-17 17:11:52 +10:00
2026-04-01 10:22:37 +02:00