> ## Documentation Index
> Fetch the complete documentation index at: https://easyaf.nimbleapps.cloud/llms.txt
> Use this file to discover all available pages before exploring further.

# EdmModelValidationException

> Represents an exception that indicates validation errors occurred on entities.

## Definition

**Assembly:** Microsoft.Restier.Core.dll

**Namespace:** Microsoft.Restier.Core

**Inheritance:** System.Exception

## Syntax

```csharp theme={"dark"}
Microsoft.Restier.Core.EdmModelValidationException
```

## Summary

Represents an exception that indicates validation errors occurred on entities.

## Constructors

### &#x20;.ctor

#### Syntax

```csharp theme={"dark"}
public EdmModelValidationException()
```

### &#x20;.ctor

Initializes a new instance of the [EdmModelValidationException](https://easyaf.nimbleapps.cloud/restier/api-reference/Microsoft/Restier/Core/EdmModelValidationException.md) class.

#### Syntax

```csharp theme={"dark"}
public EdmModelValidationException(string message)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `message` | `string` | Message of the exception. |

### &#x20;.ctor

Initializes a new instance of the [EdmModelValidationException](https://easyaf.nimbleapps.cloud/restier/api-reference/Microsoft/Restier/Core/EdmModelValidationException.md) class.

#### Syntax

```csharp theme={"dark"}
public EdmModelValidationException(string message, System.Exception innerException)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `message` | `string` | Message of the exception. |
| `innerException` | `System.Exception` | Inner exception. |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.