mirror of
https://github.com/stablyai/orca.git
synced 2026-11-16 19:07:41 +00:00
* 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>
16 lines
355 B
TypeScript
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
|
|
}
|