summaryrefslogtreecommitdiffstats
path: root/src/check_ncbi_error.c (plain)
blob: 3caa7a912bb7479f9516f14b14bd61f7ef5ec4da
1
2
3
4
5
6
7
8
9
10
11
12
13
#include "check_ncbi_error.h"

void
check_ncbi_error (ValNodePtr error_returns,
		  const char* filename,
		  unsigned int linenum)
{
  error_at_line (EXIT_FAILURE, 0, filename, linenum,
		 "An error has been reported by the NCBI Toolkit API: %s",
		 BlastErrorToString (error_returns));

  return;
}

Valid XHTML 1.0 Strict

Copyright © 2009 Don Pellegrino All Rights Reserved.