> 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.md).

# CommonError {}

- [Overview](https://error.angular-package.dev/commonerror/overview.md): The \`CommonError\` abstract object to throw an identified error with a solution to the described problem
- [Generic type variables](https://error.angular-package.dev/commonerror/generic-type-variables.md): The \`CommonError\` object generic type variables
- [Constructor](https://error.angular-package.dev/commonerror/constructor.md): The \`CommonError\` object constructor
- [Accessors](https://error.angular-package.dev/commonerror/accessors.md): The \`CommonError\` object accessors
- [get fix()](https://error.angular-package.dev/commonerror/accessors/get-fix.md): The get accessor obtains a possible solution to the described problem
- [get id()](https://error.angular-package.dev/commonerror/accessors/get-id.md): The get accessor gets the error identification
- [get link()](https://error.angular-package.dev/commonerror/accessors/get-link.md): The get accessor gets the link(to read more about the thrown error)
- [get message()](https://error.angular-package.dev/commonerror/accessors/get-message.md): The get accessor gets the error message
- [get problem()](https://error.angular-package.dev/commonerror/accessors/get-problem.md): The get accessor gets the problem
- [get template()](https://error.angular-package.dev/commonerror/accessors/get-template.md): The get accessor gets the template of the error message
- [Properties](https://error.angular-package.dev/commonerror/properties.md): The \`CommonError\` object properties
- [static template](https://error.angular-package.dev/commonerror/properties/static-template.md): A template of the error message of string type with the replaceable tags
- [#fix](https://error.angular-package.dev/commonerror/properties/fix.md): A privately stored possible solution to the described problem
- [#id?](https://error.angular-package.dev/commonerror/properties/id.md): A privately stored unique identification of the described problem
- [#link?](https://error.angular-package.dev/commonerror/properties/link.md): The optional privately stored link redirects to read more about the thrown error
- [#problem](https://error.angular-package.dev/commonerror/properties/problem.md): A privately stored problem
- [#template](https://error.angular-package.dev/commonerror/properties/template.md): A string-type privately stored template of the error message that contains replaceable required \`{fix}\`, \`{problem}\` and optional \`{id}\`, \`{link}\`, \`{max}\`, \`{min}\`, \`{type}\` tags
- [Methods](https://error.angular-package.dev/commonerror/methods.md): The \`CommonError\` object methods
- [static defineMessage()](https://error.angular-package.dev/commonerror/methods/static-definemessage.md): The static "tag" method builds from the given values the error message
- [static isError()](https://error.angular-package.dev/commonerror/methods/static-iserror.md): Checks whether the value of any type is a this instance of any or the given identification


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://error.angular-package.dev/commonerror.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
