errcodes.h
1 #ifndef ERRCODES_H
2 #define ERRCODES_H
3 
4 #define PLL_ERROR_FILE_OPEN 1
5 #define PLL_ERROR_INVALID_FILETYPE 2
7 #define PLL_NNI_P_TIP 1 << 0
8 #define PLL_NNI_Q_TIP 1 << 1
10 #define PLL_PARTITION_OUT_OF_BOUNDS 1 << 0
11 #define PLL_BASE_FREQUENCIES_DO_NOT_SUM_TO_1 1 << 1
13 #define PLL_LINKAGE_LIST_OUT_OF_BOUNDS 1 << 0
15 #define PLL_SUBSTITUTION_RATE_OUT_OF_BOUNDS 1 << 0
16 #define PLL_INVALID_Q_MATRIX_SYMMETRY 1 << 1
17 #define PLL_Q_MATRIX_SYMMETRY_OUT_OF_BOUNDS 1 << 2
19 #define PLL_UNKNOWN_MOLECULAR_DATA_TYPE 1 << 0
21 #define PLL_INCONSISTENT_SUBST_RATE_OPTIMIZATION_SETTING 1 << 0
22 #define PLL_INCONSISTENT_Q_MATRIX_SYMMETRIES_ACROSS_LINKED_PARTITIONS 1 << 1
23 #define PLL_INCONSISTENT_Q_MATRIX_ENTRIES_ACROSS_LINKED_PARTITIONS 1 << 2
24 #define PLL_INCONSISTENT_ALPHA_STATES_ACROSS_LINKED_PARTITIONS 1 << 3
25 #define PLL_INCONSISTENT_ALPHA_VALUES_ACROSS_LINKED_PARTITIONS 1 << 4
26 #define PLL_INCONSISTENT_FREQUENCY_STATES_ACROSS_LINKED_PARTITIONS 1 << 5
27 #define PLL_INCONSISTENT_FREQUENCY_VALUES_ACROSS_LINKED_PARTITIONS 1 << 6
29 #define PLL_NEWICK_ROOTED_TREE 1 << 0
30 #define PLL_NEWICK_BAD_STRUCTURE 1 << 1
34 #define PLL_ERROR_PHYLIP_HEADER_SYNTAX 5
35 #define PLL_ERROR_PHYLIP_BODY_SYNTAX 6
36 #define PLL_ERROR_FASTA_SYNTAX 7
37 
38 
39 
40 
41 #endif