surfaces-unies/src/errorcodes.h

24 lines
616 B
C
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/**
* \file errorcodes.h
* \brief Definition of error codes
*
* Dans ce fichier sont définis les codes derreur pouvant interrompre le
* programme.
*/
#ifndef SRC_ERRORCODES_H_
#define SRC_ERRORCODES_H_
/// Pas derreur
#define NOERROR 0
/// Constante pour les erreurs liées aux arguments
#define ARGERROR 1
/// Constante pour les erreurs liées à \ref darray
#define PTR_ERROR 2
/// Constante pour les erreurs liées à la lecture et écriture de fichiers
#define FILE_IO_ERROR 3
/// Constante pour les erreurs liées au format de fichiers
#define FILE_FORMAT_ERROR 4
#endif /* SRC_ERRORCODES_H_ */