This commit is contained in:
2025-07-17 13:46:22 -04:00
parent 3a9d52c513
commit 7674010155
9 changed files with 95 additions and 28 deletions

11
core/e.c Normal file
View File

@@ -0,0 +1,11 @@
#include "e.h"
#include "print.h"
#include <stdlib.h>
error_t unwrap(error_t err) {
if (!err.null) {
printfn("error: %s", err.src);
exit(err.status);
}
return err;
}