error.hpp File Reference

Defines enum error and functions error_message(), convert_errno() and exception class ErrorException . More...

#include <ders/config.hpp>
#include <ders/exception.hpp>

Go to the source code of this file.

Namespaces

namespace  ders

Classes

class  ders::ErrorException
 Exception class with embed errorCode. More...

Enumerations

enum  ders::error {
  ders::ezero = 0, ders::e2big = 1, ders::eacces = 2, ders::eaddrinuse = 3,
  ders::eaddrnotavail = 4, ders::eafnosupport = 5, ders::eagain = 6, ders::ealready = 7,
  ders::ebadf = 8, ders::ebadmsg = 9, ders::ebusy = 10, ders::ecanceled = 11,
  ders::echild = 12, ders::econnaborted = 13, ders::econnrefused = 14, ders::econnreset = 15,
  ders::edeadlk = 16, ders::edestaddrreq = 17, ders::edom = 18, ders::edquot = 19,
  ders::eexist = 20, ders::efault = 21, ders::efbig = 22, ders::ehostunreach = 23,
  ders::eidrm = 24, ders::eilseq = 25, ders::einprogress = 26, ders::eintr = 27,
  ders::einval = 28, ders::eio = 29, ders::eisconn = 30, ders::eisdir = 31,
  ders::eloop = 32, ders::emfile = 33, ders::emlink = 34, ders::emsgsize = 35,
  ders::emultihop = 36, ders::enametoolong = 37, ders::enetdown = 38, ders::enetreset = 39,
  ders::enetunreach = 40, ders::enfile = 41, ders::enobufs = 42, ders::enodata = 43,
  ders::enodev = 44, ders::enoent = 45, ders::enoexec = 46, ders::enolck = 47,
  ders::enolink = 48, ders::enomem = 49, ders::enomsg = 50, ders::enoprotoopt = 51,
  ders::enospc = 52, ders::enosr = 53, ders::enostr = 54, ders::enosys = 55,
  ders::enotconn = 56, ders::enotdir = 57, ders::enotempty = 58, ders::enotsock = 59,
  ders::enotsup = 60, ders::enotty = 61, ders::enxio = 62, ders::eopnotsupp = 63,
  ders::eoverflow = 64, ders::eperm = 65, ders::epipe = 66, ders::eproto = 67,
  ders::eprotonosupport = 68, ders::eprototype = 69, ders::erange = 70, ders::erofs = 71,
  ders::espipe = 72, ders::esrch = 73, ders::estale = 74, ders::etime = 75,
  ders::etimedout = 76, ders::etxtbsy = 77, ders::eunkn = 78, ders::ewouldblock = 79,
  ders::exdev = 80
}
 Set of error codes that don't depend on underlining implementation. More...

Functions

sh_text ders::error_message (mem_pool &mp, error err)
 Returns error message for passed error.
error ders::convert_errno (int val)
 Converts implementation dependand errno value to error code.
shException ders::newErrorException (mem_pool &mp, const FileLine &loc, const ch_rng &msg, error err)
shException ders::newErrorException (const FileLine &loc, const ch_rng &msg, error err, shException nest)


Detailed Description

Defines enum error and functions error_message(), convert_errno() and exception class ErrorException .

Definition in file error.hpp.


Generated on Tue Dec 8 11:35:32 2009 for derslib by  doxygen 1.5.5