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

# Methods

|                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <p><strong>public static</strong> <a href="/pages/mUNe2R3Rnn68BZeJX7Hz"><strong>define()</strong></a><strong>:</strong> <mark style="color:green;">Error</mark><<mark style="color:green;">Id</mark>><br>Defines the <a href="/pages/8orEKqBluVa8xEGaGvh8"><code>Error</code></a> instance with the <a href="/pages/UAsNmVmOuYGxNypELFFh">message</a> built of the given required <a href="/pages/mUNe2R3Rnn68BZeJX7Hz#problem-string"><code>problem</code></a>, <a href="/pages/mUNe2R3Rnn68BZeJX7Hz#fix-string"><code>fix</code></a> and optional <a href="/pages/mUNe2R3Rnn68BZeJX7Hz#id-id"><code>id</code></a> on the <a href="/pages/mUNe2R3Rnn68BZeJX7Hz#template-error.template"><code>template</code></a>.</p> |
| <p><strong>public static</strong> <a href="/pages/Yk0fHW48jbBFpZjZoUkS"><strong>isError()</strong></a><strong>:</strong> value is <mark style="color:green;">Error</mark><<mark style="color:green;">Id</mark>><br>Checks whether the <a href="#value-any"><code>value</code></a> of <a href="https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#any"><code>any</code></a> type is an instance of <a href="/pages/8orEKqBluVa8xEGaGvh8"><code>Error</code></a> of any or the given <a href="#id-id">identification</a>.</p>                                                                                                                                                                             |
