A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/error__priv_8c_source.html below:

NCBI C++ ToolKit: src/algo/blast/vdb/error_priv.c Source File

31 #include <klib/writer.h> 40 #define VDBSRC_NO_ERROR "No errors reported" 41 #define VDBSRC_MGR_LOAD_ERROR "Failed to create the VDB manager object" 42 #define VDBSRC_MGR_FREE_ERROR "Failed to release the VDB manager object" 43 #define VDBSRC_RUNSET_LOAD_ERROR "Failed to create VDB runset" 44 #define VDBSRC_REFSET_LOAD_ERROR "Failed to create VDB ref set" 45 #define VDBSRC_RUNSET_FREE_ERROR "Failed to release VDB runset" 46 #define VDBSRC_UNINIT_VDB_DATA_ERROR "VDB Data not initialized" 47 #define VDBSRC_ADD_RUNS_ERROR "Failed to add any run to VDB runset" 48 #define VDBSRC_GET_RUNSET_NAME_ERROR "Failed to get run set name" 49 #define VDBSRC_GET_RUNSET_NUM_SEQ_ERROR "Failed to get num of sequences" 50 #define VDBSRC_READER_2NA_ERROR "2na reader error" 51 #define VDBSRC_READER_4NA_ERROR "4na reader error" 52 #define VDBSRC_READER_2NA_CACHE_ERROR "Failed to read 2na seq from cache" 53 #define VDBSRC_READER_2NA_COPY_ERROR "Failed to read 2na seq using copy buffer" 54 #define VDBSRC_READER_4NA_CACHE_ERROR "Failed to read 4na seq from cache" 55 #define VDBSRC_READ_4NA_COPY_ERROR "Failed to read 4na seq using copy buffer" 56 #define VDBSRC_NO_MEM_FOR_VDBDATA "Failed to allocate memory for VDB data" 57 #define VDBSRC_NO_MEM_FOR_RUNS "Failed to allocate memory for the list of VDB Runs" 58 #define VDBSRC_NO_MEM_FOR_CHUNK_SEQ "Failed to allocate memory for chunk seq" 59 #define VDBSRC_SEQ_LENGTH_ERROR "Failed to get seq length" 60 #define VDBSRC_READ_ID_MISMATCH "Mismatch read id" 61 #define VDBSRC_4NA_SEQ_STRING_ERROR "4na seq convert to string error" 62 #define VDBSRC_2NA_SEQ_STRING_ERROR "2na seq convert to string error" 63 #define VDBSRC_NUM_SEQ_OVERFLOW_ERROR "Num of seqs overflow" 64 #define VDBSRC_FILTERED_READ "Id correpsonds to filtered read" 65 #define VDBSRC_ID_OUT_OF_RANGE "Id is out of range" 66 #define VDBSRC_4NA_REF_SEQ_BUF_OVERFLOW "4NA ref seq buffer overflow" 91  const char

* msgContext)

157  const char

* msgPrefix = 0;

158  const char

* msgBody = 0;

159  size_t

lengthTotal = 32;

200  char buffer

[512] = {

'\0'

};

212

lengthTotal += strlen(msgPrefix) + 1;

215

lengthTotal += strlen(vdbErrMsg->

msgContext

) + 3;

219

lengthTotal += strlen(msgBody) + 2;

223

*errMsg = (

char

*)

calloc

(lengthTotal,

sizeof

(

char

));

227

strcpy(*errMsg, msgPrefix);

241  strcat

(*errMsg, msgBody);

void VDBSRC_InitErrorMsg(TVDBErrMsg *vdbErrMsg, uint32_t rc, TVDBErrCode localCode)

Initialize an Error message.

#define VDBSRC_NO_MEM_FOR_VDBDATA

#define VDBSRC_4NA_REF_SEQ_BUF_OVERFLOW

void VDBSRC_InitLocalErrorMsg(TVDBErrMsg *vdbErrMsg, TVDBErrCode localCode)

Initialize an Error message that is local to this library.

#define VDBSRC_2NA_SEQ_STRING_ERROR

void VDBSRC_InitErrorMsgWithContext(TVDBErrMsg *vdbErrMsg, uint32_t rc, TVDBErrCode localCode, const char *msgContext)

Initialize an Error message with a context string.

#define VDBSRC_READ_ID_MISMATCH

void VDBSRC_ReleaseErrorMsg(TVDBErrMsg *vdbErrMsg)

Release the Error message.

#define VDBSRC_READER_2NA_CACHE_ERROR

void VDBSRC_InitEmptyErrorMsg(TVDBErrMsg *vdbErrMsg)

Initialize an empty Error message (No Error).

#define VDBSRC_NUM_SEQ_OVERFLOW_ERROR

#define VDBSRC_ADD_RUNS_ERROR

#define VDBSRC_GET_RUNSET_NAME_ERROR

#define VDBSRC_READER_4NA_CACHE_ERROR

#define VDBSRC_MGR_LOAD_ERROR

#define VDBSRC_RUNSET_FREE_ERROR

#define VDBSRC_UNINIT_VDB_DATA_ERROR

#define VDBSRC_GET_RUNSET_NUM_SEQ_ERROR

#define VDBSRC_RUNSET_LOAD_ERROR

#define VDBSRC_ID_OUT_OF_RANGE

#define VDBSRC_READER_2NA_COPY_ERROR

#define VDBSRC_4NA_SEQ_STRING_ERROR

#define VDBSRC_READER_2NA_ERROR

#define VDBSRC_READ_4NA_COPY_ERROR

#define VDBSRC_NO_MEM_FOR_CHUNK_SEQ

#define VDBSRC_MGR_FREE_ERROR

#define VDBSRC_REFSET_LOAD_ERROR

#define VDBSRC_NO_MEM_FOR_RUNS

#define VDBSRC_SEQ_LENGTH_ERROR

#define VDBSRC_FILTERED_READ

void VDBSRC_FormatErrorMsg(char **errMsg, const TVDBErrMsg *vdbErrMsg)

Format the error message as a single human-readable string.

#define VDBSRC_READER_4NA_ERROR

File contains definitions of error messages and error handling functions.

enum VDBSRC_ErrCode TVDBErrCode

@ eVDBSRC_NUM_SEQ_OVERFLOW_ERROR

Num of Seqs overflow.

@ eVDBSRC_FILTERED_READ

oid correpsond to filtered read

@ eVDBSRC_RUNSET_LOAD_ERROR

VDB RunSet could not be loaded.

@ eVDBSRC_MGR_LOAD_ERROR

VDB Manager could not be loaded.

@ eVDBSRC_NO_MEM_FOR_RUNS

No memory for an VDB accession.

@ eVDBSRC_4NA_SEQ_STRING_ERROR

4na convert to string error

@ eVDBSRC_ID_OUT_OF_RANGE

oid is out of range

@ eVDBSRC_GET_RUNSET_NAME_ERROR

Failed get run set name.

@ eVDBSRC_NO_ERROR

No errors.

@ eVDBSRC_READ_2NA_CACHE_ERROR

Failed to read 2na (cache)

@ eVDBSRC_READ_ID_MISMATCH

Read id mismatch (requested id != retrieved id)

@ eVDBSRC_READER_2NA_ERROR

Failed to process the NCBI-2na data.

@ eVDBSRC_ADD_RUNS_ERROR

Failed to add any run to RunSet.

@ eVDBSRC_UNINIT_VDB_DATA_ERROR

VDB Data has not be initialized.

@ eVDBSRC_4NA_REF_SEQ_BUF_OVERFLOW

4na seq overflow

@ eVDBSRC_READ_4NA_CACHE_ERROR

Failed to read 4na (cache)

@ eVDBSRC_REFSET_LOAD_ERROR

VDB RunSet could not be loaded.

@ eVDBSRC_READ_2NA_COPY_ERROR

Failed to read 2na (copy buffer)

@ eVDBSRC_NO_MEM_FOR_VDBDATA

No memory for the VDB data.

@ eVDBSRC_READ_4NA_COPY_ERROR

Failed to read 4na (copy buffer)

@ eVDBSRC_SEQ_LENGTH_ERROR

VDB returns invalid seq length.

@ eVDBSRC_2NA_SEQ_STRING_ERROR

2na convert to string error

@ eVDBSRC_RUNSET_FREE_ERROR

VDB RunSet could not be released.

@ eVDBSRC_READER_4NA_ERROR

Failed to process the NCBI-4na data.

@ eVDBSRC_NO_MEM_FOR_CHUNK_SEQ

No memory for chunk seq.

@ eVDBSRC_MGR_FREE_ERROR

VDB Manager could not be released.

@ eVDBSRC_GET_RUNSET_NUM_SEQ_ERROR

Failed get num of seq.

#define ASSERT

macro for assert.

Structure describing the error messages the library can generate.

char * msgContext

Optional context string for the error.

Boolean isError

True if the object describes an error.

TVDBErrCode localCode

Local error code, set by this library.

uint32_t resultCode

SRA error, rcNoErr if the error is local.

voidp calloc(uInt items, uInt size)


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4