static define()
Defines the `TypeError` instance
Last updated
Was this helpful?
Defines the `TypeError` instance
Last updated
Was this helpful?
TypeError.define()
Defines the instance with the built of the given required , and optional and on the given 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.
template =
TypeError
.template
A generic type variable constrained by the and , by default of the value equal to indicates the captured type of the supplied of a new instance.
Description of the of a type.
A solution to the given of a type.
Optional unique to the given of generic type variable .
The optional type of generic type variable that causes an error to be thrown(or not thrown).
A template of error message with the replaceable , and optional , tags. By default, the value is equal to the static property .
The return type is the object that takes generic type variable as identification and generic type variable as the type.
The return value is a new instance of the with the built from the given required , and optional , on the given or stored .