Skip to content

Graphorin API reference v0.4.0


Graphorin API reference / @graphorin/cli / / assertNoNetworkInOfflineMode

Function: assertNoNetworkInOfflineMode()

ts
function assertNoNetworkInOfflineMode(operation): void;

Defined in: packages/cli/src/internal/offline.ts:35

Throws when the operator opted into offline mode. Phase 14a calls this from every subcommand entry point so the contract is enforced uniformly.

Parameters

ParameterType
operationstring

Returns

void

Stable