Xbase Class Library  2.0.0
Macros | Functions
xbexcept.h File Reference
#include <xbase/xbconfig.h>
#include <xbase/xtypes.h>

Go to the source code of this file.

Macros

#define xb_error(code)   { return code;}
 
#define xb_io_error(code, name)   { return code;}
 
#define xb_open_error(name)   { return XB_OPEN_ERROR;}
 
#define xb_memory_error   { return XB_NO_MEMORY;}
 
#define xb_eof_error   { return XB_EOF;}
 

Functions

const char * xbStrError (xbShort err)
 Short description. More...
 

Macro Definition Documentation

#define xb_eof_error   { return XB_EOF;}
#define xb_error (   code)    { return code;}
#define xb_io_error (   code,
  name 
)    { return code;}
#define xb_memory_error   { return XB_NO_MEMORY;}
#define xb_open_error (   name)    { return XB_OPEN_ERROR;}

Function Documentation

const char* xbStrError ( xbShort  err)

Short description.

Parameters
err