> For the complete documentation index, see [llms.txt](https://error.angular-package.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://error.angular-package.dev/validationerror/methods.md).

# Methods

|                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <p><strong>public static</strong> <a href="/pages/7leXTDQtmSrFMwpWvEW1"><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="/pages/tWJbBkEAjqz0Kp1KEc0j"><code>ValidationError</code></a> instance with the <a href="/pages/UAsNmVmOuYGxNypELFFh">message</a> built of the given required <a href="/pages/7leXTDQtmSrFMwpWvEW1#problem-string"><code>problem</code></a>, <a href="/pages/7leXTDQtmSrFMwpWvEW1#fix-string"><code>fix</code></a> and optional <a href="/pages/7leXTDQtmSrFMwpWvEW1#id-id"><code>id</code></a> on the supplied or stored <a href="/pages/7leXTDQtmSrFMwpWvEW1#template-validationerror.template"><code>template</code></a>.</p> |
| <p><strong>public static</strong> <a href="/pages/GuKlSXtxySYdT8X2Oumq"><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="/pages/GuKlSXtxySYdT8X2Oumq#value-any"><code>value</code></a> of any type is the <a href="/pages/tWJbBkEAjqz0Kp1KEc0j"><code>ValidationError</code></a> instance of any or the given <a href="/pages/GuKlSXtxySYdT8X2Oumq#id-id">identification</a>.</p>                                                                                                                                                                                                                                              |
