fix(build): tighten TypeScript compiler settings and harden error message handling

This commit is contained in:
2026-04-30 13:09:28 +00:00
parent a7c3ab3eea
commit ad73e8ecb8
9 changed files with 1624 additions and 1915 deletions
+2 -1
View File
@@ -155,8 +155,9 @@ export class MicroVM {
if (err instanceof SmartVMError) {
throw err;
}
const message = err instanceof Error ? err.message : String(err);
throw new SmartVMError(
`Failed to start VM ${this.id}: ${err.message}`,
`Failed to start VM ${this.id}: ${message}`,
'START_FAILED',
);
}