From 32237bc52d1dd69d60dda75ddc29bb31ce165c83 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Mon, 9 May 2022 17:17:53 +0200 Subject: implement setup and hypervisor --- robot/errcatch.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'robot/errcatch.h') diff --git a/robot/errcatch.h b/robot/errcatch.h index c816051..48e2a75 100644 --- a/robot/errcatch.h +++ b/robot/errcatch.h @@ -1,4 +1,14 @@ #pragma once +#include + +#include "consts.h" + /** error-handler module main */ void w2_errcatch_main(); + +/** append error to error buffer */ +void w2_errcatch_throw(enum w2_e_errorcodes code); + +/** append error to error buffer (with debug message) */ +void w2_errcatch_throw_msg(enum w2_e_errorcodes code, uint16_t length, const char *message); -- cgit v1.2.3