# Methods

|                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| <p><strong>public static</strong> <a href="methods/static-define"><strong>define()</strong></a><strong>: </strong><mark style="color:green;"><strong>ValidationError</strong></mark><strong><</strong><mark style="color:green;"><strong>Id</strong></mark><strong>></strong><br>Defines the <a href=""><code>ValidationError</code></a> instance with the <a href="../commonerror/accessors/get-message">message</a> built of the given required <a href="static-define#problem-string"><code>problem</code></a>, <a href="static-define#fix-string"><code>fix</code></a> and optional <a href="static-define#id-id"><code>id</code></a> on the supplied or stored <a href="static-define#template-validationerror.template"><code>template</code></a>.</p> |
| <p><strong>public static</strong> <a href="methods/static-isvalidationerror"><strong>isValidationError()</strong></a><strong>: value is </strong><mark style="color:green;"><strong>ValidationError</strong></mark><strong><</strong><mark style="color:green;"><strong>Id</strong></mark><strong>></strong><br>Checks whether the <a href="static-isvalidationerror#value-any"><code>value</code></a> of any type is the <a href=""><code>ValidationError</code></a> instance of any or the given <a href="static-isvalidationerror#id-id">identification</a>.</p>                                                                                                                                                                                          |
