Home > @tridion-sites/models > ValidationError
Represents a validation error which is returned when validating an item.
Signature:
export declare class ValidationError extends ValidationResult
Extends: ValidationResult
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)(backendModel) | Constructs a new instance of the ValidationError class |
| Property | Modifiers | Type | Description |
|---|---|---|---|
| _backendModel | BackendValidationError | ||
| errorCode | string | undefined | Error code of the validation error or of the exception if any. | |
| exceptionName | string | undefined | Name of the exception if any. | |
| getInternalModel | () => BackendValidationError |