octobercms/october · error · Error

${errorMessage} Property: ${propertyName}

Error message

${errorMessage} Property: ${propertyName}

What it means

Error "${errorMessage} Property: ${propertyName}" thrown in octobercms/october.

Source

Thrown at modules/backend/vuecomponents/inspector/assets/js/classes/validatorset.js:13

import validators from './validators/index.js';

export class ValidatorSet {
    #validators = [];
    #propertyName;

    constructor(options, propertyName) {
        this.#propertyName = propertyName;
        this.#makeValidators(options);
    }

    #throwError(errorMessage) {
        throw new Error(errorMessage + ' Property: ' + this.#propertyName);
    }

    #makeValidators(options) {
        // Handle legacy validation syntax properties:
        //
        // - required
        // - validationPattern
        // - validationMessage

        if ((options.required !== undefined ||
            options.validationPattern !== undefined ||
            options.validationMessage !== undefined) &&
            options.validation !== undefined) {
            this.#throwError('Legacy and new validation syntax should not be mixed.');
        }

        if (options.required !== undefined && options.required) {
            var validator = new validators.required(this.#propertyName, {

View on GitHub (pinned to b608633a7e)

When it happens

Trigger: Thrown at modules/backend/vuecomponents/inspector/assets/js/classes/validatorset.js:13 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of octobercms/october@b608633a7e (2026-08-21). Data as JSON: /api/errors/2418bf261c5abc22. Report an issue: GitHub.