{"record":{"id":"8eb736d13716497e","repo":"octobercms/october","slug":"options-size-must-be-a-string","errorCode":null,"errorMessage":"options.size must be a string","messagePattern":"options\\.size must be a string","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"modules/backend/vuecomponents/inspector/assets/js/classes/host.js","lineNumber":33,"sourceCode":"        if (!Array.isArray(dataSchema)) {\n            throw new Error('Inspector data schema must be an array');\n        }\n\n        if (typeof uniqueId !== 'string' || !uniqueId.length) {\n            throw new Error('Inspector unique key is a required string');\n        }\n\n        if (options) {\n            if (typeof options !== 'object') {\n                throw new Error('options must be an object');\n            }\n\n            if (options.buttonText && typeof options.buttonText !== 'string') {\n                throw new Error('options.buttonText must be a string');\n            }\n\n            if (options.size && typeof options.size !== 'string') {\n                throw new Error('options.size must be a string');\n            }\n\n            if (options.description && typeof options.description !== 'string') {\n                throw new Error('options.description must be a string');\n            }\n\n            if (options.resizableWidth && typeof options.resizableWidth !== 'boolean') {\n                throw new Error('options.resizableWidth must be boolean');\n            }\n\n            if (options.beforeApplyCallback && typeof options.beforeApplyCallback !== 'function') {\n                throw new Error('options.beforeApplyCallback must be a function');\n            }\n\n            if (options.liveMode && typeof options.liveMode !== 'boolean') {\n                throw new Error('options.liveMode must be boolean');\n            }\n        }","sourceCodeStart":15,"sourceCodeEnd":51,"githubUrl":"https://github.com/octobercms/october/blob/b608633a7e8922487d91a8161499020121c3b3bf/modules/backend/vuecomponents/inspector/assets/js/classes/host.js#L15-L51","documentation":"Error \"options.size must be a string\" thrown in octobercms/october.","triggerScenarios":"Thrown at modules/backend/vuecomponents/inspector/assets/js/classes/host.js:33 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"b608633a7e8922487d91a8161499020121c3b3bf","analyzedAt":"2026-08-21T04:24:57.515Z","schemaVersion":2},"datasetVersion":"2026-08-21T11:28:35.574Z"}