Functions | Variables
sf_error.c File Reference
#include "sf_error.h"
#include <stdarg.h>
#include <stdlib.h>
Include dependency graph for sf_error.c:

Go to the source code of this file.

Functions

void sf_error (const char *func_name, sf_error_t code, const char *fmt,...)
 
sf_action_t sf_error_get_action (sf_error_t code)
 
void sf_error_set_action (sf_error_t code, sf_action_t action)
 

Variables

static volatile sf_action_t sf_error_actions []
 
const char * sf_error_messages []
 

Function Documentation

◆ sf_error()

void sf_error ( const char *  func_name,
sf_error_t  code,
const char *  fmt,
  ... 
)

Definition at line 41 of file sf_error.c.

◆ sf_error_get_action()

sf_action_t sf_error_get_action ( sf_error_t  code)

Definition at line 37 of file sf_error.c.

◆ sf_error_set_action()

void sf_error_set_action ( sf_error_t  code,
sf_action_t  action 
)

Definition at line 33 of file sf_error.c.

Variable Documentation

◆ sf_error_actions

volatile sf_action_t sf_error_actions[]
static

◆ sf_error_messages

const char* sf_error_messages[]
Initial value:
= {"no error",
"singularity",
"underflow",
"overflow",
"too slow convergence",
"loss of precision",
"no result obtained",
"domain error",
"invalid input argument",
"other error",

Definition at line 6 of file sf_error.c.

SF_ERROR_IGNORE
@ SF_ERROR_IGNORE
Definition: sf_error.h:23
NULL
#define NULL
Definition: ccolamd.c:609


gtsam
Author(s):
autogenerated on Thu Jun 13 2024 03:11:43