unavailableFault
Purpose and behavior
Section titled “Purpose and behavior”Return { message } from details.unavailable of the first non-quota OutpostError that sets it, searching the error and up to seven wrapped causes, or undefined. Outages keep their process, provider or timeout code, so test with this function rather than the code. Fallback agents covering unavailable use the same test.
Complete example and detailed rules.
Parameters and properties
Section titled “Parameters and properties”errorRequiredunknownAny caught value; wrapped causes are followed.