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

# Methods

|                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <p><strong>public</strong> <a href="/pages/RVqwheMXmibQ0XyKkwZs"><strong>get()</strong></a>: <mark style="color:green;">TypeError</mark><<mark style="color:green;">ErrorId</mark>>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | <mark style="color:green;">undefined</mark><br>Returns the <a href="/pages/wXU3s9b3bJiG5x5vWa8P"><code>TypeError</code></a> instance of the given <a href="/pages/6Nle1uMltWSb2uh6hgTQ#unique-identification">unique identification</a> <a href="/pages/RVqwheMXmibQ0XyKkwZs#id-errorid"><code>id</code></a> if set, otherwise <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/undefined"><code>undefined</code></a>.</p> |
| <p><strong>public</strong> <a href="/pages/qEGnjIF9YwPQ1ZJO3qK6"><strong>getErrors()</strong></a>: { \[<mark style="color:green;">Key</mark> in <mark style="color:green;">Id</mark>]: <mark style="color:green;">TypeError</mark><<mark style="color:green;">Key</mark>>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | <mark style="color:green;">undefined</mark> }<br>Returns an <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object"><code>object</code></a> of set type errors, where the key is a <a href="/pages/6Nle1uMltWSb2uh6hgTQ#unique-identification">unique identification</a>.</p>                                                                                                                                             |
| <p><strong>public</strong> <a href="/pages/tPGpxe2ljDxrbFB5Te4M"><strong>set()</strong></a><strong>:</strong> <mark style="color:green;">this</mark><br>Sets the <a href="/pages/wXU3s9b3bJiG5x5vWa8P"><code>TypeError</code></a> object with the message built from the given required <a href="/pages/jOiEQyLS4CUvWue1cy3s#problem-string"><code>problem</code></a>, <a href="/pages/jOiEQyLS4CUvWue1cy3s#fix-string"><code>fix</code></a>, <a href="/pages/jOiEQyLS4CUvWue1cy3s#id-errorid"><code>id</code></a>, and optional <a href="/pages/jOiEQyLS4CUvWue1cy3s#type-string"><code>type</code></a> on the given or stored <a href="/pages/jOiEQyLS4CUvWue1cy3s#template-typeerrors.template"><code>template</code></a> under the given <a href="/pages/jOiEQyLS4CUvWue1cy3s#id-errorid"><code>id</code></a>.</p> |                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
