#include "error.h"
#include "colors.h"
#include "cover.h"
#include <stdarg.h>
#include <stdlib.h>
Go to the source code of this file.
◆ kissat_abort()
| void kissat_abort |
( |
void | | ) |
|
Definition at line 19 of file error.c.
20{
21 if (kissat_abort_function)
23 else
25}
◆ kissat_call_function_instead_of_abort()
| void kissat_call_function_instead_of_abort |
( |
void(* | f )(void) | ) |
|
Definition at line 12 of file error.c.
12 {
13 kissat_abort_function = f;
14}
◆ kissat_error()
| void kissat_error |
( |
const char * | fmt, |
|
|
| ... ) |
Definition at line 51 of file error.c.
51 {
52 va_list ap;
53 va_start (ap, fmt);
54 vprint_error ("error", fmt, &ap);
55 va_end (ap);
56}
◆ kissat_fatal()
| void kissat_fatal |
( |
const char * | fmt, |
|
|
| ... ) |
Definition at line 58 of file error.c.
58 {
59 va_list ap;
60 va_start (ap, fmt);
61 vprint_error ("fatal error", fmt, &ap);
62 va_end (ap);
64}
◆ kissat_fatal_message_start()
| void kissat_fatal_message_start |
( |
void | | ) |
|
Definition at line 40 of file error.c.
40 {
41 typed_error_message_start ("fatal error");
42}