#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. |
typedef std::pair<parse_error::type,const char *> emap [static] |
emap init_errors[] [static] |
Initial value:
{ emap(parse_error::NONE, N_("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.