mirror of
https://github.com/zjs81/meshcore-open.git
synced 2026-04-20 22:13:48 +00:00
Throw an exception for unsupported LPP types in CayenneLpp class
This commit is contained in:
parent
940a1be203
commit
71152bd3eb
1 changed files with 3 additions and 2 deletions
|
|
@ -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')}',
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue