Files
orca/src/shared/classified-error.ts
T
OrcaWinandOrcaWin 3b9c1d356d fix(i18n): code GitHub/GitLab operation failures for the renderer (#35689)
* fix(i18n): code GitHub/GitLab operation failures for the renderer

* fix(i18n): show coded failures in comment composers; exhaustive classification switches

---------

Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-10-28 22:18:41 -07:00

16 lines
355 B
TypeScript

export type ClassifiedError = {
type:
| 'permission_denied'
| 'not_found'
| 'issues_disabled'
| 'validation_error'
| 'rate_limited'
| 'network_error'
| 'unknown'
message: string
/** Copy code for `message`; older hosts omit it. */
code?: string
/** Verbatim gh/glab text embedded in `message`. */
detail?: string
}