Methods
The `ValidationErrors` object methods
public get(): ValidationError<ErrorId> | undefined
Returns the ValidationError instance of the given unique identification id if set, otherwise undefined.
public getErrors(): { [Key in Id]: ValidationError<Key> | undefined }
Returns an object of set type errors, where the key is a unique identification.
Last updated
Was this helpful?