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

View file

@ -258,8 +258,9 @@ class CayenneLpp {
break;
// Add more types as needed...
default:
// Unknown type: skip or handle error?
continue;
throw Exception(
'Unsupported LPP type: ${type.toRadixString(16).padLeft(2, '0')}',
);
}
}