1 /** 2 * @file morpho_error.h 3 * @brief G[R[h` 4 * @version 1.0.0 5 * @date 2008-06-09 6 * 7 * Copyright (C) 2006-2012 Morpho, Inc. 8 */ 9 10 #ifndef MORPHO_ERROR_H 11 #define MORPHO_ERROR_H 12 13 /** G[R[h .*/ 14 #define MORPHO_OK (0x00000000) /**< */ 15 #define MORPHO_DOPROCESS (0x00000001) /**< */ 16 #define MORPHO_CANCELED (0x00000002) /**< LZ */ 17 #define MORPHO_SUSPENDED (0x00000008) /**< f */ 18 19 #define MORPHO_ERROR_GENERAL_ERROR (0x80000000) /**< IG[. */ 20 #define MORPHO_ERROR_PARAM (0x80000001) /**< s. */ 21 #define MORPHO_ERROR_STATE (0x80000002) /**< os. */ 22 #define MORPHO_ERROR_MALLOC (0x80000004) /**< AP[VG[. */ 23 #define MORPHO_ERROR_IO (0x80000008) /**< oG[. */ 24 #define MORPHO_ERROR_UNSUPPORTED (0x80000010) /**< @\T|[g. */ 25 #define MORPHO_ERROR_NOTFOUND (0x80000020) /**< */ 26 #define MORPHO_ERROR_INTERNAL (0x80000040) /**< G[. */ 27 #define MORPHO_ERROR_UNKNOWN (0xC0000000) /**< LOG[. */ 28 29 #endif /* #ifndef MORPHO_ERROR_H */ 30