Celartem::Error Struct Reference

#include <cel_errutil.h>

List of all members.

Static Public Member Functions

static GeneralErrorDefinition errorFromOSError ()
static GeneralErrorDefinition errorFromErrno ()
static String stringFromOSError ()
static String stringFromErrno ()


Detailed Description

OS dependent error -> Library error code conversion.

Definition at line 53 of file cel_errutil.h.


Member Function Documentation

static GeneralErrorDefinition Celartem::Error::errorFromOSError (  )  [static]

This function converts the OS's current error status into the library defined error code defined in cel_error.h .

Returns:
The error code that stands for the current status.

static GeneralErrorDefinition Celartem::Error::errorFromErrno (  )  [static]

This function converts std::errno into the library defined error code defined in cel_error.h .

Returns:
The error code corresponding to std::errno .

static String Celartem::Error::stringFromOSError (  )  [static]

This function returns the string that is mapped to the current error status.

Returns:
The string that represents the error.

static String Celartem::Error::stringFromErrno (  )  [static]

This function returns the string that is mapped to the current std::errno value.

Returns:
The string that represents the error.


The documentation for this struct was generated from the following file:
This document is automatically generated using doxygen 1.5.4 at Fri Jun 27 18:23:16 2008.