• Whether err is the removed-engine-option refusal, narrowed so err.code and err.options are readable without a cast.

    Parameters

    • err: unknown

    Returns err is Error & {
        code: "CAUSL_REMOVED_ENGINE_OPTION";
        options: readonly string[];
    }

    Unlike import('./wasm-registry.js').isCauslEngineUnavailable, this family is ONE class thrown from one module, so instanceof RemovedEngineOptionError is also a correct test and this guard is a convenience rather than the only spelling. It is provided so a catch can branch the two families the same way, and it tests instanceof Error for the same reason its sibling does: the predicate promises Error &, and a serialised { code } relayed across a worker boundary is a record of the refusal, not the refusal.