Throw an exception for unsupported LPP types in CayenneLpp class

This commit is contained in:
Winston Lowe
2026-02-15 17:20:35 -08:00
parent 940a1be203
commit 71152bd3eb
+3 -2
View File
@@ -258,8 +258,9 @@ class CayenneLpp {
break; break;
// Add more types as needed... // Add more types as needed...
default: default:
// Unknown type: skip or handle error? throw Exception(
continue; 'Unsupported LPP type: ${type.toRadixString(16).padLeft(2, '0')}',
);
} }
} }