112 (
"Number of characters on sequence line is different from expected. " +
113 ErrorPrintf(
"Expected number of characters is %d. Actual number of characters is %d.",
114 expectedCount, actualCount));
string BadCharCountPrintf(int expectedCount, int actualCount)
END_ENUM_INFO string ErrorPrintf(const char *format,...)
thread_local unique_ptr< CAlnErrorReporter > theErrorReporter
ADD_ENUM_VALUE("Mods", eReader_Mods)
The NCBI C++ standard methods for dealing with std::string.
#define BEGIN_NAMED_ENUM_INFO(EnumAlias, EnumName, IsInteger)
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define END_SCOPE(ns)
End the previously defined scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define BEGIN_SCOPE(ns)
Define a new scope.
static string FormatVarargs(const char *format, va_list args)
Handle an arbitrary printf-style format string.
@ eAlnSubcode_UnexpectedCommandArgs
@ eAlnSubcode_BadDataChars
@ eAlnSubcode_FileTooShort
@ eAlnSubcode_UnsupportedFileFormat
@ eAlnSubcode_BadSequenceCount
@ eAlnSubcode_UnterminatedComment
@ eAlnSubcode_IllegalSequenceId
@ eAlnSubcode_UnterminatedBlock
@ eAlnSubcode_FileDoesNotExist
@ eAlnSubcode_UnexpectedCommand
@ eAlnSubcode_IllegalDataDescription
@ eAlnSubcode_InconsistentMolType
@ eAlnSubcode_InsufficientDeflineInfo
@ eAlnSubcode_UnterminatedCommand
@ eAlnSubcode_IllegalDataLine
@ eAlnSubcode_BadDataCount
@ eAlnSubcode_MissingDataLine
@ eAlnSubcode_UnexpectedSeqId
@ eAlnSubcode_IllegalDefinitionLine
@ eModSubcode_Unrecognized
@ eModSubcode_ProteinModOnNucseq
@ eModSubcode_ConflictingValues
@ eModSubcode_InvalidValue