> 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/commonerror/methods.md).

# Methods

|                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| <p><strong>protected static</strong> <a href="/pages/KhI7uCqLCibWKkF1fp1b"><strong>defineMessage()</strong></a><strong>:</strong> <mark style="color:green;">string</mark><br>The static "<a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals">tag</a>" method builds from the given <a href="/pages/KhI7uCqLCibWKkF1fp1b#...values-any"><code>values</code></a> the error message of a <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String"><code>string</code></a> type on the template.</p> |
| <p><strong>protected static</strong> <a href="/pages/EVnsL3y0PxCd21o8K9N0"><strong>isError()</strong></a><strong>:</strong> value is <mark style="color:green;">CommonError</mark><<mark style="color:green;">Id</mark>><br>Checks whether the <a href="/pages/EVnsL3y0PxCd21o8K9N0#value-any"><code>value</code></a> of any type is a <code>this</code> instance of any or the given <a href="/pages/EVnsL3y0PxCd21o8K9N0#id-id">identification</a>.</p>                                                                                                                            |
