#include <config.h>
#include "sbuild-i18n.h"
#include "sbuild-parse-error.h"
#include <boost/format.hpp>
Include dependency graph for sbuild-parse-error.cc:
Typedefs | |
typedef std::pair< parse_error::type, const char * > | emap |
Variables | |
emap | init_errors [] |
This is a list of the supported error codes. |
|
|
|
Initial value: { emap(parse_error::NONE, _("no error")), emap(parse_error::BAD_FILE, N_("can't open file")), emap(parse_error::BAD_VALUE, N_("could not parse value")), emap(parse_error::INVALID_LINE, N_("invalid line")), emap(parse_error::NO_GROUP, N_("no group specified")), emap(parse_error::INVALID_GROUP, N_("invalid group")), emap(parse_error::DUPLICATE_GROUP, N_("duplicate group")), emap(parse_error::NO_KEY, N_("no key specified")), emap(parse_error::DUPLICATE_KEY, N_("duplicate key")), emap(parse_error::MISSING_KEY, N_("required key is missing")), emap(parse_error::DISALLOWED_KEY, N_("disallowed key used")) } It's used to construct the real error codes map. |