Skip to content

API ReferenceErrorsType Alias

ValidationErrorCode

type ValidationErrorCode = (typeof ValidationErrorCode)[keyof typeof ValidationErrorCode];

Semantic error codes for SDK validation failures.

PascalCase values match the existing enum value style to minimize churn in message maps (getStaticLOCErrorHumanReadableMessage etc.).

This replaces the per-operation merged enum pattern: const CreateStaticLOCErrorType = { ...AddressErrorType, ...BeneficiaryErrorType, ... }