Skip to content
Français

FallbackAgentOptions

import type { FallbackAgentOptions } from "@elie-laloum/outpost";
  • onRequired
    readonly FallbackTrigger[]
    Failure categories that move to the next candidate: quota, unavailable or both, with no default. An empty, repeated or unknown entry throws code configuration.
export interface FallbackAgentOptions {
  /** Failure categories that hand the dispatch to the next candidate. */
  readonly on: readonly FallbackTrigger[];
}