ErrorNumbers

Contains list of application specific error numbers.

Summary
ErrorNumbersContains list of application specific error numbers.
CopyrightThis program is free software.
Files
C-kern/api/context/errornr.hHeader file ErrorNumbers.
C-kern/context/errornr.cImplementation file ErrorNumbers impl.
Enumerations
errornr_eApplication specific error codes.
Functions
test
unittest_context_errornrTest assignment of errornr_e.

Copyright

This program is free software.  You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details.

Author

© 2013 Jörg Seebohn

Files

C-kern/api/context/errornr.h

Header file ErrorNumbers.

C-kern/context/errornr.c

Implementation file ErrorNumbers impl.

Enumerations

errornr_e

Application specific error codes.

EINVARIANTInvariant violated.  This means for example corrupt memory, a software bug.
ELEAKResource leak.  This means for example memory not freed, file descriptors not closed and so on.

Functions

Summary

test

unittest_context_errornr

int unittest_context_errornr(void)

Test assignment of errornr_e.

Contains list of application specific error numbers.
Implements ErrorNumbers.
int unittest_context_errornr(void)
Test assignment of errornr_e.
Application specific error codes.
Close