NCBI C++ ToolKit
indx_err.h
Go to the documentation of this file.

Go to the SVN repository for this file.

1 /* $Id: indx_err.h 96587 2022-04-17 13:06:44Z stakhovv $
2  * ===========================================================================
3  *
4  * PUBLIC DOMAIN NOTICE
5  * National Center for Biotechnology Information
6  *
7  * This software/database is a "United States Government Work" under the
8  * terms of the United States Copyright Act. It was written as part of
9  * the author's official duties as a United States Government employee and
10  * thus cannot be copyrighted. This software/database is freely available
11  * to the public for use. The National Library of Medicine and the U.S.
12  * Government have not placed any restriction on its use or reproduction.
13  *
14  * Although all reasonable efforts have been taken to ensure the accuracy
15  * and reliability of the software and data, the NLM and the U.S.
16  * Government do not and cannot warrant the performance or results that
17  * may be obtained by using this software or data. The NLM and the U.S.
18  * Government disclaim all warranties, express or implied, including
19  * warranties of performance, merchantability or fitness for any particular
20  * purpose.
21  *
22  * Please cite the author in any work or product based on this material.
23  *
24  * ===========================================================================
25  *
26  * File Name: indx_err.h
27  *
28  * Author: Karl Sirotkin, Hsiu-Chuan Chen
29  *
30  * File Description:
31  * Defines errors.
32  *
33  */
34 
35 #ifndef __MODULE_indx_err__
36 #define __MODULE_indx_err__
37 
38 // clang-format off
39 #define ERR_FORMAT 1,0
40 #define ERR_FORMAT_NonAsciiChar 1,1
41 #define ERR_FORMAT_MissingEnd 1,2
42 #define ERR_FORMAT_MissingField 1,3
43 #define ERR_FORMAT_LocusLinePosition 1,4
44 #define ERR_FORMAT_DirSubMode 1,5
45 #define ERR_FORMAT_LineTypeOrder 1,6
46 #define ERR_FORMAT_Multiple_NI 1,8
47 #define ERR_FORMAT_ContigInSegset 1,9
48 #define ERR_FORMAT_Multiple_SV 1,10
49 #define ERR_FORMAT_MissingNIDLine 1,11
50 #define ERR_FORMAT_IncorrectNIDLine 1,12
51 #define ERR_FORMAT_UnexpectedEnd 1,13
52 #define ERR_FORMAT_XMLMissingStartTag 1,14
53 #define ERR_FORMAT_XMLMissingEndTag 1,15
54 #define ERR_FORMAT_XMLFormatError 1,16
55 #define ERR_FORMAT_XMLInvalidINSDInterval 1,17
56 #define ERR_FORMAT_IncorrectMGALine 1,18
57 #define ERR_FORMAT_IllegalCAGEMoltype 1,19
58 #define ERR_FORMAT_BadlyFormattedIDLine 1,20
59 #define ERR_FORMAT_InvalidIDlineMolType 1,21
60 
61 #define ERR_ENTRY 2,0
62 #define ERR_ENTRY_Skipped 2,1
63 #define ERR_ENTRY_Begin 2,3
64 #define ERR_ENTRY_InvalidLineType 2,6
65 
66 #define ERR_ACCESSION 3,0
67 #define ERR_ACCESSION_BadAccessNum 3,2
68 #define ERR_ACCESSION_NoAccessNum 3,3
69 #define ERR_ACCESSION_WGSProjectAccIsPri 3,7
70 #define ERR_ACCESSION_2ndAccPrefixMismatch 3,11
71 #define ERR_ACCESSION_Invalid2ndAccRange 3,12
72 
73 #define ERR_LOCUS 4,0
74 #define ERR_LOCUS_BadLocusName 4,7
75 #define ERR_LOCUS_NoLocusName 4,8
76 
77 #define ERR_SEGMENT 5,0
78 #define ERR_SEGMENT_BadLocusName 5,3
79 #define ERR_SEGMENT_IncompSeg 5,4
80 
81 #define ERR_VERSION 6,0
82 #define ERR_VERSION_MissingVerNum 6,1
83 #define ERR_VERSION_NonDigitVerNum 6,2
84 #define ERR_VERSION_AccessionsDontMatch 6,3
85 #define ERR_VERSION_BadVersionLine 6,4
86 #define ERR_VERSION_IncorrectGIInVersion 6,5
87 #define ERR_VERSION_NonDigitGI 6,6
88 #define ERR_VERSION_InvalidVersion 6,8
89 
90 #define ERR_REFERENCE 8,0
91 #define ERR_REFERENCE_IllegalDate 8,1
92 
93 #define ERR_SEQID 10,0
94 #define ERR_SEQID_NoSeqId 10,1
95 
96 #define ERR_ORGANISM 11,0
97 #define ERR_ORGANISM_Multiple 11,1
98 
99 #define ERR_INPUT 12,0
100 #define ERR_INPUT_CannotReadEntry 12,1
101 
102 #define ERR_TPA 13,0
103 #define ERR_TPA_TpaSpansMissing 13,1
104 
105 #define ERR_DATE 14,0
106 #define ERR_DATE_IllegalDate 14,1
107 
108 #define ERR_KEYWORD 15,0
109 #define ERR_KEYWORD_InvalidTPATier 15,1
110 #define ERR_KEYWORD_UnexpectedTPA 15,2
111 #define ERR_KEYWORD_MissingTPAKeywords 15,3
112 #define ERR_KEYWORD_MissingTPATier 15,4
113 #define ERR_KEYWORD_ConflictingTPATiers 15,5
114 #define ERR_KEYWORD_MissingTSAKeywords 15,6
115 #define ERR_KEYWORD_MissingMGAKeywords 15,7
116 #define ERR_KEYWORD_ConflictingMGAKeywords 15,8
117 #define ERR_KEYWORD_MissingTLSKeywords 15,9
118 
119 #define ERR_TSA 16,0
120 #define ERR_TSA_TsaSpansMissing 16,1
121 
122 #define ERR_QSCORE 17,0
123 #define ERR_QSCORE_RedundantScores 17,1
124 #define ERR_QSCORE_NoSequenceRecord 17,2
125 #define ERR_QSCORE_NoScoreDataFound 17,3
126 // clang-format on
127 
128 #endif
Modified on Mon Apr 22 04:04:55 2024 by modify_doxy.py rev. 669887