Anchorage API reference
    Preparing search index...
    • Parse a DO response as a RunSummary, translating a non-ok answer into a RunRouteError carrying the DO's own status, message and reason. A 5xx without a reason code is a fault the DO did not classify: its message is logged and the error carries internal error. A non-ok answer whose body is not JSON keeps its status.

      Parameters

      Returns Promise<RunSummary>