1 /* This file is part of the YAZ toolkit.
2 * Copyright (C) 1995-2013 Index Data
3 * See the file LICENSE for details.
7 * \brief Implements CCL error code to error string map.
9 * This source file implements mapping between CCL error code and
10 * their string equivalents.
18 static char *err_msg_array[] = {
20 "Search word expected",
26 "Qualifiers applied twice",
29 "Left truncation not supported",
30 "Both left - and right truncation not supported",
31 "Right truncation not supported",
32 "Embedded truncation not supported",
33 "Single character mask not supported"
36 const char *ccl_err_msg(int ccl_errno)
39 ccl_errno < sizeof(err_msg_array)/sizeof(*err_msg_array))
40 return err_msg_array[ccl_errno];
47 * c-file-style: "Stroustrup"
48 * indent-tabs-mode: nil
50 * vim: shiftwidth=4 tabstop=8 expandtab