static define()
Defines the `ValidationError` instance
Last updated
Was this helpful?
Defines the `ValidationError` instance
Last updated
Was this helpful?
ValidationError.define()
Defines the instance with the built of the given required , and optional on the supplied or stored .
Id
extends
A generic type variable constrained by the , by default of the value captured from the provided optional indicates the type of a new instance.
problem:
Description of the of a type.
template =
ValidationError
.template
A solution to the given of a type.
Optional unique to the given of generic type variable .
A template of error message with the replaceable , and optional tags. By default, the value is equal to the static property ValidationError.template
.
The return type is the object that takes generic type variable .
The return value is a new instance of the with the built from the given required , and optional on the given or stored .