> For the complete documentation index, see [llms.txt](https://docs.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://docs.angular-package.dev/error/commonerror/accessors.md).

# Accessors

The \`CommonError\` object accessors

|                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |                                                                                                                                                                                                                                                                                                                                                                                                        |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| <p><strong>public get</strong> <a href="/error/commonerror/accessors/get-fix.md"><strong>fix()</strong></a><strong>:</strong> <mark style="color:green;">string</mark><br>The <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/get"><code>get</code></a> accessor obtains a possible <a href="/error/getting-started/basic-concepts.md#fix">solution</a> to the described <a href="/error/commonerror/accessors/get-problem.md">problem</a> by returning the <a href="/error/commonerror/properties/fix.md"><code>#fix</code></a> property of a specified object</p>                                                                                                          |                                                                                                                                                                                                                                                                                                                                                                                                        |
| <p><strong>public get</strong> <a href="/error/commonerror/accessors/get-id.md"><strong>id()</strong></a><strong>:</strong> <mark style="color:green;">Id</mark>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | <mark style="color:green;">undefined</mark><br>The <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/get"><code>get</code></a> accessor gets the error <a href="/error/getting-started/basic-concepts.md#identification">identification</a> by returning the <a href="/error/commonerror/properties/id.md"><code>#id</code></a> property of a specified object.</p> |
| <p><strong>public get</strong> <a href="/error/commonerror/accessors/get-link.md"><strong>link()</strong></a><strong>:</strong> <mark style="color:green;">string</mark>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | <mark style="color:green;">undefined</mark><br>The <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/get"><code>get</code></a> accessor gets the link(to read more about the thrown error) by returning the <a href="/error/commonerror/properties/link.md"><code>#link</code></a> property of a specified object.</p>                                              |
| <p><strong>public get</strong> <a href="/error/commonerror/accessors/get-message.md"><strong>message()</strong></a><strong>:</strong> <mark style="color:green;">string</mark><br>The <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/get"><code>get</code></a> accessor gets the error <a href="/error/getting-started/basic-concepts.md#message">message</a> by returning the parent <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error/message"><code>message</code></a> property of the <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error"><code>Error</code></a> object.</p> |                                                                                                                                                                                                                                                                                                                                                                                                        |
| <p><strong>public get</strong> <a href="/error/commonerror/accessors/get-problem.md"><strong>problem()</strong></a><strong>:</strong> <mark style="color:green;">string</mark><br>The <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/get"><code>get</code></a> accessor gets the <a href="/error/getting-started/basic-concepts.md#problem">problem</a> by returning the <a href="/error/commonerror/properties/problem.md"><code>#problem</code></a> property of a specified object.</p>                                                                                                                                                                                   |                                                                                                                                                                                                                                                                                                                                                                                                        |
| <p><strong>public get</strong> <a href="/error/commonerror/accessors/get-template.md"><strong>template()</strong></a><strong>:</strong> <mark style="color:green;">string</mark><br>The <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/get"><code>get</code></a> accessor gets the <a href="/error/getting-started/basic-concepts.md#template">template</a> of the error message by returning the <a href="/error/commonerror/properties/template.md"><code>#template</code></a> property of a specified object.</p>                                                                                                                                                        |                                                                                                                                                                                                                                                                                                                                                                                                        |
