@suluk/cost - v0.2.0
    Preparing search index...

    Function impliedErrorStatuses

    • The HTTP error statuses a request's FACETS imply (the generic form of toolfactory's errors-gate): a contract should declare these responses. credit→402 · authenticated/admin→401 · owner-scope→403 · rate-limit→429 · an upstream third-party call (a per-request cost component)→502. A pure function of the declared facets.

      Parameters

      • req: Request

      Returns number[]