Methods

The `ValidationError` object methods

public static define(): ValidationError<Id> Defines the ValidationError instance with the message built of the given required problem, fix and optional id on the supplied or stored template.

public static isValidationError(): value is ValidationError<Id> Checks whether the value of any type is the ValidationError instance of any or the given identification.

Last updated