ParseError
ParseError Parse(const char* commandLine,
throw ParseError("invalid character in package name",
throw ParseError("the summary contains linebreaks", t.pos);
throw ParseError(error, fPos);
} catch (const ParseError& error) {
throw ParseError("invalid url", pos);
} catch (const ParseError& error) {
throw ParseError("unterminated quoted-string",
throw ParseError("'\\' at end of string",
throw ParseError(error.String(), fPos);
throw ParseError("expected string", string.pos);
throw ParseError(error, arch.pos);
throw ParseError("expected string (a version)", word.pos);
throw ParseError("revision must be a number > 0 and < UINT_MAX",
throw ParseError("expected revision number (-<number> suffix)",
throw ParseError("invalid empty pre-release string",
throw ParseError("invalid character in pre-release string",
throw ParseError("expected minor version", word.pos + secondDotPos);
throw ParseError("invalid character in micro version string",
throw ParseError("invalid character in minor version string",
throw ParseError("invalid character in major version string",
} catch (const ParseError& error) {
throw ParseError("expected word (a resolvable name)",
throw ParseError("invalid character in resolvable name",
throw ParseError("expected '=', comma or '}'", op.pos);
throw ParseError("expected word (a resolvable name)",
throw ParseError("invalid character in resolvable name",
throw ParseError("multiple packages marked as base package",
throw ParseError(
throw ParseError("expected start of list ('{')", openBracket.pos);
throw ParseError("expected string", token.pos);
throw ParseError("invalid character in resolvable name",
throw ParseError("expected word (a flag)", token.pos);
throw ParseError(
throw ParseError("expected string (a file path)",
throw ParseError(BString("expected an update type"),
throw ParseError(
throw ParseError("expected string (a settings file path)",
throw ParseError(
throw ParseError(
throw ParseError("expected a user name", token.pos);
throw ParseError("expected string (a user real name)",
throw ParseError("expected string (a home path)",
throw ParseError("expected string (a shell path)",
throw ParseError("expected a group name",
throw ParseError(
} catch (const ParseError& error) {
throw ParseError(
throw ParseError(
throw ParseError("expected string (a variable name)", t.pos);
throw ParseError(error, t.pos);
throw ParseError(error, t.pos);
struct BPackageInfo::Parser::ParseError {
ParseError(const BString& _message, const char* _pos)
struct ParseError;
ArgumentVector::ParseError
ParseError error;
ParseError Parse(const char* commandLine, const char*& _errorLocation)