diff --git a/plugin/src/Reconciler/getProperty.lua b/plugin/src/Reconciler/getProperty.lua index bc67525c..cd5c11f3 100644 --- a/plugin/src/Reconciler/getProperty.lua +++ b/plugin/src/Reconciler/getProperty.lua @@ -40,6 +40,13 @@ local function getProperty(instance, propertyName) }) end + if err.kind == RbxDom.Error.Kind.Roblox and err.extra:find("is not a valid member of") then + return false, Error.new(Error.UnknownProperty, { + className = instance.ClassName, + propertyName = propertyName, + }) + end + return false, Error.new(Error.OtherPropertyError, { className = instance.ClassName, propertyName = propertyName,