Cotal TypeScript packages
    Preparing search index...

    Function stopSession

    • Stop the named session's server (used by teardown/smoke; production sessions stay up — that persistence is the point of the runtime).

      session stop takes a POSITIONAL name, not --session, so it cannot go through run. Only "it was not running" is absorbed, matched on herdr's exact session_stop_failed code — which it reports on stdout with exit 0, so the output has to be read rather than ignored. Every other structured error (permission, protocol) propagates: a teardown that cannot say it failed is worse than no teardown, because it reports success either way.

      Parameters

      • session: string

      Returns void