Implement unified and type safe error messages (#186)
* Implement unified and type safe error messages * Fix Apple error handling * improve linux exception handling * improve web exception handling * fix window imports * update pigeon generated files * Fix compilaton issue * Fix windows error parsing * Fix windows compilation * Improve error handling on dart side * rename _wrapFuture to _executeWithErrorHandling * Add pigeon generation script and format generated dart file * Update changelog * Update readme --------- Co-authored-by: Foti Dim <foti@navideck.com>
This commit is contained in:
Executable
+11
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "Building pigeon..."
|
||||
dart run pigeon --input pigeon/universal_ble.dart
|
||||
echo "Pigeon built successfully"
|
||||
|
||||
echo "Formatting generated files..."
|
||||
dart format lib/src/universal_ble_pigeon/universal_ble.g.dart
|
||||
echo "Generated files formatted successfully"
|
||||
|
||||
echo "Done"
|
||||
Reference in New Issue
Block a user