Enumerations | Functions | Variables
sf_error.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  sf_action_t { SF_ERROR_IGNORE = 0, SF_ERROR_WARN, SF_ERROR_RAISE }
 
enum  sf_error_t {
  SF_ERROR_OK = 0, SF_ERROR_SINGULAR, SF_ERROR_UNDERFLOW, SF_ERROR_OVERFLOW,
  SF_ERROR_SLOW, SF_ERROR_LOSS, SF_ERROR_NO_RESULT, SF_ERROR_DOMAIN,
  SF_ERROR_ARG, SF_ERROR_OTHER, SF_ERROR__LAST
}
 

Functions

void sf_error (const char *func_name, sf_error_t code, const char *fmt,...)
 
void sf_error_check_fpe (const char *func_name)
 
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

const char * sf_error_messages []
 

Enumeration Type Documentation

◆ sf_action_t

Enumerator
SF_ERROR_IGNORE 
SF_ERROR_WARN 
SF_ERROR_RAISE 

Definition at line 22 of file sf_error.h.

◆ sf_error_t

enum sf_error_t
Enumerator
SF_ERROR_OK 
SF_ERROR_SINGULAR 
SF_ERROR_UNDERFLOW 
SF_ERROR_OVERFLOW 
SF_ERROR_SLOW 
SF_ERROR_LOSS 
SF_ERROR_NO_RESULT 
SF_ERROR_DOMAIN 
SF_ERROR_ARG 
SF_ERROR_OTHER 
SF_ERROR__LAST 

Definition at line 8 of file sf_error.h.

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_check_fpe()

void sf_error_check_fpe ( const char *  func_name)

◆ 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_messages

const char* sf_error_messages[]

Definition at line 6 of file sf_error.c.



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