sbuild-parse-error.cc File Reference

#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 Documentation

typedef std::pair<parse_error::type,const char *> emap [static]
 


Variable Documentation

emap init_errors[] [static]
 

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"))
    }
This is a list of the supported error codes.

It's used to construct the real error codes map.


Generated on Sat Jun 17 14:43:19 2006 for schroot by  doxygen 1.4.6