vigiles API reference
    Preparing search index...

    Function assertAgentErr

    • Assert the worker's output is an error result, and return its error. The railway's error track — proves the worker reported failure with rich detail (not that it crashed or returned prose). A malformed or success result throws.

      Parameters

      Returns Record<string, unknown>