@salesforce/b2c-tooling-sdk / cli / ERROR_CODE
Variable: ERROR_CODE
constERROR_CODE:object
Defined in: packages/b2c-tooling-sdk/src/cli/base-command.ts:54
Stable error-code values passed to oclif's this.error(msg, {code}) so that classifyError can categorize the resulting telemetry without parsing error messages.
VALIDATION— user/config input error (missing flag, bad value). Expected, not a reliability defect.GUARDRAIL— blocked by the user's own safety configuration. Working as intended, not a failure of the tool.
Type Declaration
GUARDRAIL
readonlyGUARDRAIL:"GUARDRAIL"='GUARDRAIL'
VALIDATION
readonlyVALIDATION:"VALIDATION"='VALIDATION'