Skip to content

Type Alias: ErrorSeverity

ts
type ErrorSeverity = "warning" | "error" | "critical";

Defined in: packages/core/src/core/response.ts:274

Error severity level.

  • 'warning' — Non-fatal. The operation succeeded but with caveats (e.g. deprecated tool, partial results, soft quota approaching).
  • 'error' — The operation failed. Agent should attempt recovery.
  • 'critical' — Unrecoverable. Agent should escalate to the user.