MCPcopy Create free account
hub / github.com/Azure/powershell / validateErrorActionPref

Function validateErrorActionPref

lib/index.js:8690–8694  ·  view source on GitHub ↗
(errorActionPreference)

Source from the content-addressed store, hash-verified

8688 validateErrorActionPref(errorActionPreference);
8689}
8690function validateErrorActionPref(errorActionPreference) {
8691 if (!(errorActionPrefValues.has(errorActionPreference.toUpperCase()))) {
8692 throw new Error(`Invalid errorActionPreference: ${errorActionPreference}`);
8693 }
8694}
8695main();
8696
8697

Callers 1

validateInputsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…