mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-29 15:30:40 -07:00
Structured JSON Output (#8119)
This commit is contained in:
@@ -59,6 +59,16 @@ export class FatalTurnLimitedError extends FatalError {
|
||||
super(message, 53);
|
||||
}
|
||||
}
|
||||
export class FatalToolExecutionError extends FatalError {
|
||||
constructor(message: string) {
|
||||
super(message, 54);
|
||||
}
|
||||
}
|
||||
export class FatalCancellationError extends FatalError {
|
||||
constructor(message: string) {
|
||||
super(message, 130); // Standard exit code for SIGINT
|
||||
}
|
||||
}
|
||||
|
||||
export class ForbiddenError extends Error {}
|
||||
export class UnauthorizedError extends Error {}
|
||||
|
||||
Reference in New Issue
Block a user