blob: 48e2a750f0365b5c016152da301c61e2895525b8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#pragma once
#include <stdint.h>
#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);
|