Aller au contenu
English

FallbackAgentOptions

import type { FallbackAgentOptions } from "@elie-laloum/outpost";
  • onRequis
    readonly FallbackTrigger[]
    Catégories d’échec qui font passer au candidat suivant : quota, unavailable ou les deux, sans valeur par défaut. Une liste vide, une répétition ou une valeur inconnue lève le code configuration.
export interface FallbackAgentOptions {
  /** Failure categories that hand the dispatch to the next candidate. */
  readonly on: readonly FallbackTrigger[];
}