tridion-sites-extensions-api-docs

Home > @tridion-sites/models > ValidationError

ValidationError class

Represents a validation error which is returned when validating an item.

Signature:

export declare class ValidationError extends ValidationResult

Extends: ValidationResult

Constructors

Constructor Modifiers Description
(constructor)(backendModel)   Constructs a new instance of the ValidationError class

Properties

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