From 71152bd3ebb1fd6c99ce489aca1f2a385dabb549 Mon Sep 17 00:00:00 2001 From: Winston Lowe Date: Sun, 15 Feb 2026 17:20:35 -0800 Subject: [PATCH] Throw an exception for unsupported LPP types in CayenneLpp class --- lib/helpers/cayenne_lpp.dart | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/helpers/cayenne_lpp.dart b/lib/helpers/cayenne_lpp.dart index d1270bd..e6e1f01 100644 --- a/lib/helpers/cayenne_lpp.dart +++ b/lib/helpers/cayenne_lpp.dart @@ -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')}', + ); } }