2 * Copyright (C) 1995-2008, Index Data ApS
3 * See the file LICENSE for details.
5 * $Id: cclerrms.c,v 1.4 2008-01-09 21:32:27 adam Exp $
9 * \brief Implements CCL error code to error string map.
11 * This source file implements mapping between CCL error code and
12 * their string equivalents.
17 static char *err_msg_array[] = {
19 "Search word expected",
25 "Qualifiers applied twice",
28 "Left truncation not supported",
29 "Both left - and right truncation not supported",
30 "Right truncation not supported"
34 * ccl_err_msg: return name of CCL error
35 * ccl_errno: Error no.
36 * return: Name of error.
38 const char *ccl_err_msg (int ccl_errno)
40 return err_msg_array[ccl_errno];
45 * indent-tabs-mode: nil
47 * vim: shiftwidth=4 tabstop=8 expandtab