githubEdit

Methods

The `ValidationErrors` object methods

public get(): ValidationError<ErrorId> | undefined Returns the ValidationError instance of the given unique identification id if set, otherwise undefinedarrow-up-right.

public getErrors(): { [Key in Id]: ValidationError<Key> | undefined } Returns an objectarrow-up-right of set type errors, where the key is a unique identification.

public set(): this Sets the ValidationError object with the message built from the given required problem, id, fix on the given or stored template under the given id.

Last updated

Was this helpful?