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.
ValidationError
problem
fix
id
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.
value
Last updated 3 years ago