1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
 typedef int SAF_error_t;
 #define SAF_FATAL_ERROR           0x00000001    /* Any fatal error.                                                             */
 #define SAF_MEMORY_ERROR          0x00000002    /* A memory-related error.                                                      */
 #define SAF_FILE_ERROR            0x00000004    /* File-related errors.                                                         */
 #define SAF_CONTEXT_ERROR         0x00000008    /* Context errors.                                                              */
 #define SAF_LOOKUP_ERROR          0x00000010    /* Name lookup errors.                                                          */
 #define SAF_MAPPING_ERROR         0x00000020    /* Mapping errors.                                                              */
 #define SAF_WRITE_ERROR           0x00000040    /* File write errors.                                                           */
 #define SAF_DEBUG_ERROR           0x00000080    /* Debugging messages.                                                          */
 #define SAF_CONSTRAINT_ERROR      0x00000100    /* Failed constraints.                                                          */
 #define SAF_PARAMETER_ERROR       0x00000200    /* Function parameter errors.                                                   */
 #define SAF_COMMUNICATION_ERROR   0x00000400    /* MPI-related errors.                                                          */
 #define SAF_READ_ERROR            0x00000800    /* File read errors.                                                            */
 #define SAF_NOTIMPL_ERROR         0x00001000    /* Functionality has not been implemented.                                      */
 #define SAF_BADHNDL_ERROR         0x00002000    /* Object handle errors.                                                        */
 #define SAF_MISC_ERROR            0x00004000    /* Miscellaneous errors.                                                        */
 #define SAF_SIZE_ERROR            0x00008000    /* Size-related errors.                                                         */
 #define SAF_PMODE_ERROR           0x00010000    /* Errors in the parallel mode argument to a function.                          */
 #define SAF_ASSERTION_ERROR       0x00020000    /* Failed assertions.                                                           */
 #define SAF_PRECONDITION_ERROR    0x00040000    /* Failed preconditions.                                                        */
 #define SAF_POSTCONDITION_ERROR   0x00080000    /* Failed postconditions.                                                       */
 #define SAF_GENERIC_ERROR         0x00100000    /* Generic errors.                                                              */
 #define SAF_SSLIB_ERROR           0x00200000    /* SSlib related errors                                                         */