diff options
author | Mattias Andrée <maandree@kth.se> | 2020-06-09 18:41:42 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2020-06-09 18:45:24 +0200 |
commit | 6653b2827cc8701360c6650865d5d2f7e8fbae88 (patch) | |
tree | 3b83ce5afee7e716b34a1f2556c9eadbd925acc6 /README | |
parent | Add liberror_pop_error and liberror_set_error_existing (diff) | |
download | liberror-6653b2827cc8701360c6650865d5d2f7e8fbae88.tar.gz liberror-6653b2827cc8701360c6650865d5d2f7e8fbae88.tar.bz2 liberror-6653b2827cc8701360c6650865d5d2f7e8fbae88.tar.xz |
Update liberror.7, liberror.h.0, and README
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'README')
-rw-r--r-- | README | 19 |
1 files changed, 13 insertions, 6 deletions
@@ -13,18 +13,25 @@ together with liberror-backtrace, backtraces. The important functions are: liberror_get_error - Get error for the calling thread + Get error for the calling thread. liberror_set_error - Set error for the calling thread + Set error for the calling thread. liberror_set_error_errno - Wrapper for liberror_set_error for errno errors + Wrapper for liberror_set_error for errno errors. + + liberror_set_error_existing + Set error for the calling thread to a saved error. + + liberror_pop_error + Set error for the calling thread to the + current error's cause. liberror_reset_error Remove error for the calling thread, needed because `liberror_set_error` otherwise stores - the error as the cause of the new error + the error as the cause of the new error. liberror_print_error Print the error for the calling thread, include @@ -33,7 +40,7 @@ The important functions are: the error for the calling thread. liberror_start - Shall be called when entering a signal handler + Shall be called when entering a signal handler. liberror_end - Shall be called when a signal handler exits + Shall be called when a signal handler exits. |