Skip to content

Class: ODataValidationError

Defined in: packages/core/src/query/odata-validation.error.ts:17

Thrown when field name validation fails against the EdmRegistry.

The entityTypeName and propertyName fields provide diagnostic context for the user's own query (not internal server data).

Extends

  • Error

Constructors

Constructor

new ODataValidationError(message, entityTypeName, propertyName, availableProperties?): ODataValidationError

Defined in: packages/core/src/query/odata-validation.error.ts:18

Parameters

message

string

entityTypeName

string

propertyName

string

availableProperties?

readonly string[]

Returns

ODataValidationError

Overrides

Error.constructor

Properties

availableProperties?

readonly optional availableProperties?: readonly string[]

Defined in: packages/core/src/query/odata-validation.error.ts:22


entityTypeName

readonly entityTypeName: string

Defined in: packages/core/src/query/odata-validation.error.ts:20


propertyName

readonly propertyName: string

Defined in: packages/core/src/query/odata-validation.error.ts:21