API ReferenceValidationInterface
LOCConfigValidationError\<T\>
Represents a validation error for LOC configuration fields.
This type is specific to the user-provided LOC config validated via validateConfig. It is distinct
from the operation-level ValidationError class used in workflow validation.
Type Parameters
| Type Parameter |
|---|
T extends FieldPath |
Properties
errorType?
optional errorType?: string;Optional error type for categorization and programmatic handling.
fieldPath
fieldPath: T;Array of path segments to the field that caused the validation error. e.g., [“locConfig”, “beneficiary”, “value”] or [“locConfig”, “locBeneficiaryAllowList”, “0”]
invalidValue
invalidValue: unknown;The actual invalid value that caused the validation error.
message
message: string;Human-readable error message describing the validation failure.