dkerror.h File Reference

Error constants. More...

Go to the source code of this file.

Defines

#define DK_ERR_NONE   0
 No error.
#define DK_ERR_SYSERR   1
 System error.
#define DK_ERR_NOMEM   2
 Memory error.
#define DK_ERR_BUFFER_LENGTH   3
 Buffer too small.
#define DK_ERR_MATH_OOR   4
 Out of range.
#define DK_ERR_DIV_ZERO   5
 Zero division.
#define DK_ERR_NO_GETHOSTBYNAME   6
 gethostbyname() not available.
#define DK_ERR_NO_SUCH_HOST   7
 No such host.
#define DK_ERR_TRY_AGAIN   8
 Try again later.
#define DK_ERR_NO_RECOVERY   9
 Failed.
#define DK_ERR_NO_DNS_RESPONSE   10
 No DNS response.
#define DK_ERR_UNKNOWN_ERROR   11
 Unknown error.
#define DK_ERR_INVALID_ARGS   12
 Invalid arguments.
#define DK_ERR_GETHOSTNAME_FAILED   13
 No host name.
#define DK_ERR_NOT_NOW   14
 Not now.
#define DK_ERR_INVALID_FILEHANDLE   15
 Invlid file handle.
#define DK_ERR_CONNECTION_CLOSED_BY_PEER   16
 Connection closed by peer.
#define DK_ERR_INTERRUPTED   17
 Interrupted.
#define DK_ERR_NO_OOB_DATA   18
 Out of band data.
#define DK_ERR_NOT_CONNECTED   19
 Not connected.
#define DK_ERR_TIMED_OUT   20
 Time out.
#define DK_ERR_IO   21
 I/O error.
#define DK_ERR_RESOURCES   22
 Resources problem.
#define DK_ERR_AF_NO_SUPPORT   23
 Address family not supported.
#define DK_ERR_MSG_SIZE   24
 Message too large.
#define DK_ERR_PIPE   25
 Pipe error.
#define DK_ERR_NEED_ADDR   26
 Address needed.
#define DK_ERR_HOST_UNREACHABLE   27
 Host unreachable.
#define DK_ERR_NET_INTERFACE_DOWN   28
 Interface down.
#define DK_ERR_NET_UNREACHABLE   29
 Network unreachable.
#define DK_ERR_ACCESS   30
 Access permissions problem.
#define DK_ERR_PROTO_NOT_SUPPORTED   31
 Protocol not supported.
#define DK_ERR_ADDRESS_IN_USE   32
 Address in use.
#define DK_ERR_ADDRESS_NOT_AVAILABLE   33
 Address not available.
#define DK_ERR_ALREADY_CONNECTED   34
 Already connected.
#define DK_ERR_CONNECT_IN_PROGRESS   35
 Connect in progress.
#define DK_ERR_CONNECTION_REFUSED_BY_PEER   36
 Connection refused by peer.
#define DK_ERR_BUSY   37
 Busy.
#define DK_ERR_STRING_TOO_LONG   38
 String too long.
#define DK_ERR_NO_SUCH_FILE   39
 No such file.
#define DK_ERR_NOT_UNIQUE   40
 Not unique.
#define DK_ERR_FINISHED   41
 Finished.
#define DK_ERR_FUNCTION_UNSUPPORTED   42
 Function unsupported.
#define DK_ERR_SYNTAX   43
 Syntax error.
#define DK_ERR_NO_SUCH_OBJECT   44
 No such object.


Detailed Description

Error constants.

This file contains definitions for error codes.


Define Documentation

#define DK_ERR_ACCESS   30

Access permissions problem.

An operation failed do to insufficient permissions.

#define DK_ERR_ADDRESS_IN_USE   32

Address in use.

The address is currently in use.

#define DK_ERR_ADDRESS_NOT_AVAILABLE   33

Address not available.

The address is currently not available.

#define DK_ERR_AF_NO_SUPPORT   23

Address family not supported.

No support for the specified address family available.

#define DK_ERR_ALREADY_CONNECTED   34

Already connected.

The network transport endpoint is connected.

#define DK_ERR_BUFFER_LENGTH   3

Buffer too small.

The buffer length is no sufficient.

#define DK_ERR_BUSY   37

Busy.

A resource is busy.

#define DK_ERR_CONNECT_IN_PROGRESS   35

Connect in progress.

A connect operation is in progress.

#define DK_ERR_CONNECTION_CLOSED_BY_PEER   16

Connection closed by peer.

A network connection was closed by the peer.

#define DK_ERR_CONNECTION_REFUSED_BY_PEER   36

Connection refused by peer.

Failed to connect to the specified peer.

#define DK_ERR_DIV_ZERO   5

Zero division.

Mathematical error, division by 0.

#define DK_ERR_FINISHED   41

Finished.

Finished to traverse a collection.

#define DK_ERR_FUNCTION_UNSUPPORTED   42

Function unsupported.

The requested functionality is not supported.

#define DK_ERR_GETHOSTNAME_FAILED   13

No host name.

Failed to obtain the system's own host name.

#define DK_ERR_HOST_UNREACHABLE   27

Host unreachable.

The host can not be reached at this time.

#define DK_ERR_INTERRUPTED   17

Interrupted.

An interrupt occured while performing the operation.

#define DK_ERR_INVALID_ARGS   12

Invalid arguments.

The arguments provided to a function can not be used.

#define DK_ERR_INVALID_FILEHANDLE   15

Invlid file handle.

The argument is not a valid file handle.

#define DK_ERR_IO   21

I/O error.

An I/O error occured.

#define DK_ERR_MATH_OOR   4

Out of range.

The result of a mathematical operation is outside the range of a data type.

#define DK_ERR_MSG_SIZE   24

Message too large.

Messages must not exceed a certain size.

#define DK_ERR_NEED_ADDR   26

Address needed.

The operation needs an address.

#define DK_ERR_NET_INTERFACE_DOWN   28

Interface down.

The network interface is down.

#define DK_ERR_NET_UNREACHABLE   29

Network unreachable.

The network is (temporarily) unreachable.

#define DK_ERR_NO_DNS_RESPONSE   10

No DNS response.

There was no response from the DNS server.

#define DK_ERR_NO_GETHOSTBYNAME   6

gethostbyname() not available.

The gethostbyname() function is not available.

#define DK_ERR_NO_OOB_DATA   18

Out of band data.

Out of band data is of higher priority than normal data.

#define DK_ERR_NO_RECOVERY   9

Failed.

An operation failed. Do not attempt to repeat the operation.

#define DK_ERR_NO_SUCH_FILE   39

No such file.

An invalid file name or file pattern was specified.

#define DK_ERR_NO_SUCH_HOST   7

No such host.

No information was found about the given host name.

#define DK_ERR_NO_SUCH_OBJECT   44

No such object.

The requested object can not be found.

#define DK_ERR_NOMEM   2

Memory error.

Not enough memory (RAM/swap space) available.

#define DK_ERR_NONE   0

No error.

No error occured, the operation was finished successfully.

#define DK_ERR_NOT_CONNECTED   19

Not connected.

A connection must be established before sending or receiving data.

#define DK_ERR_NOT_NOW   14

Not now.

The operation can not be performed at this time.

#define DK_ERR_NOT_UNIQUE   40

Not unique.

A pattern does not match exactly one file name.

#define DK_ERR_PIPE   25

Pipe error.

No one is reading from the pipe.

#define DK_ERR_PROTO_NOT_SUPPORTED   31

Protocol not supported.

The specified protocol is not supported on this system.

#define DK_ERR_RESOURCES   22

Resources problem.

Insufficient resources available.

#define DK_ERR_STRING_TOO_LONG   38

String too long.

A specified string is too long for internal buffers.

#define DK_ERR_SYNTAX   43

Syntax error.

There was a syntax error in input data.

#define DK_ERR_SYSERR   1

System error.

A system error occured, see errno.

#define DK_ERR_TIMED_OUT   20

Time out.

A timeout occured while waiting for the operation to complete.

#define DK_ERR_TRY_AGAIN   8

Try again later.

A resource is temporarily unavailable.

#define DK_ERR_UNKNOWN_ERROR   11

Unknown error.

No detailed information is available.


Generated on Mon Jan 4 15:50:55 2010 for dklibs by  doxygen 1.5.8