aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/clangsupport/filepathexceptions.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/clangsupport/filepathexceptions.h')
-rw-r--r--src/libs/clangsupport/filepathexceptions.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/libs/clangsupport/filepathexceptions.h b/src/libs/clangsupport/filepathexceptions.h
index 80bded0c66..3174d89479 100644
--- a/src/libs/clangsupport/filepathexceptions.h
+++ b/src/libs/clangsupport/filepathexceptions.h
@@ -38,6 +38,15 @@ public:
}
};
+class NoDirectoryPathForInvalidDirectoryPathId : std::exception
+{
+public:
+ const char *what() const noexcept override
+ {
+ return "You cannot get a directory path for an invalid directory path id!";
+ }
+};
+
class SourceNameIdDoesNotExists : std::exception
{
public: