diff --git a/lib/utils/mu-error.hh b/lib/utils/mu-error.hh index 4ed0e9b1..b12b07b0 100644 --- a/lib/utils/mu-error.hh +++ b/lib/utils/mu-error.hh @@ -1,5 +1,5 @@ /* -** Copyright (C) 2019-2020 Dirk-Jan C. Binnema +** Copyright (C) 2019-2022 Dirk-Jan C. Binnema ** ** This program is free software; you can redistribute it and/or modify it ** under the terms of the GNU General Public License as published by the @@ -21,7 +21,7 @@ #define MU_ERROR_HH__ #include -#include "mu-utils.hh" +#include "mu-utils-format.hh" #include "mu-util.h" #include @@ -30,6 +30,7 @@ namespace Mu { struct Error final : public std::exception { enum struct Code { AccessDenied = 100, // don't overlap with MuError + AssertionFailure, Command, Crypto, File, @@ -37,14 +38,16 @@ struct Error final : public std::exception { Internal, InvalidArgument, Message, + NoMatches, NotFound, Parsing, + Play, Query, SchemaMismatch, Store, + UnverifiedSignature, User, - Play, - AssertionFailure + Xapian, }; /**