API reference > @kontsedal/olas-core > ValidatorResult
ValidatorResult type
What a Validator may return synchronously. A plain string is a message on the node itself (equivalent to a FormIssue with an empty path);null means "no error"; a FormIssue[] targets specific descendants.
Signature:
typescript
type ValidatorResult = string | null | FormIssue[];References: FormIssue