13#include "tbci/basics.h"
15#ifndef HAVE_NO_NEW_HEADERS_BUG
18# include <exception.h>
67 ,
errtext(strdup(
"Error in TBCI Numerical Library"))
70 NumErr(
const char* txt,
const long idx = 0)
75 NumErr(
const std::string &str,
const long idx = 0)
85 virtual const char*
what()
const throw()
93#define __TBCIERR_BUF_SZ 256
111#ifdef HAVE_NOEXCEPT_FALSE
112# define THROWEXCEPT noexcept(false)
NumErr(const char *txt, const long idx=0)
NumErr(const std::string &str, const long idx=0)
const char * errtext
Short error description in _what.
virtual const char * what() const
long index
Index for out of bounds error.
static char * ltoa(const long l)
static volatile unsigned err_ptr