Vue OpenAPI Query Documentation
    Preparing search index...

    Type Alias ApiErrorPolicy

    ApiErrorPolicy: (error: unknown, ctx: ApiErrorContext) => void

    Global error side-effect callback. Observe-only — the promise always rejects after this returns. error is unknown (not AxiosError) because the cache-level hook fires for ANY rejection, including non-axios throws. Narrow with isAxiosError inside the policy if needed.

    Type Declaration