mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-11 13:17:00 -04:00
Implemented Packages, + some minor tweaks to headers
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@6 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -48,6 +48,14 @@ class PackageError : public Error {
|
||||
inline PackageError(const String& str) : Error(str) {}
|
||||
};
|
||||
|
||||
/// A file is not found
|
||||
class FileNotFoundError : public PackageError {
|
||||
public:
|
||||
inline FileNotFoundError(const String& file, const String& package)
|
||||
: PackageError(_("File not found: ") + file + _(" in package ") + package)
|
||||
{}
|
||||
};
|
||||
|
||||
// ----------------------------------------------------------------------------- : Parse errors
|
||||
|
||||
/// Parse errors
|
||||
|
||||
Reference in New Issue
Block a user