# ValidationError {}

- [Overview](https://docs.angular-package.dev/error/validationerror/overview.md): The \`ValidationError\` object
- [Generic type variables](https://docs.angular-package.dev/error/validationerror/generic-type-variables.md): The \`ValidationError\` object generic type variables
- [★ Constructor](https://docs.angular-package.dev/error/validationerror/constructor.md): The \`ValidationError\` constructor
- [Accessors](https://docs.angular-package.dev/error/validationerror/accessors.md): The \`ValidationError\` object accessors
- [get name()](https://docs.angular-package.dev/error/validationerror/accessors/get-name.md): The \`get\` accessor obtains error name
- [get \[Symbol.toStringTag\]()](https://docs.angular-package.dev/error/validationerror/accessors/get-symbol.tostringtag.md): Changes the default tag to 'TypeError' for an instance
- [Methods](https://docs.angular-package.dev/error/validationerror/methods.md): The \`ValidationError\` object methods
- [static define()](https://docs.angular-package.dev/error/validationerror/methods/static-define.md): Defines the \`ValidationError\` instance
- [static isValidationError()](https://docs.angular-package.dev/error/validationerror/methods/static-isvalidationerror.md): Checks whether the value of any type is an instance of \`ValidationError\`


---

# Agent Instructions: 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:

```
GET https://docs.angular-package.dev/error/validationerror.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
