aboutsummaryrefslogtreecommitdiff
path: root/VNLib.Data.Caching.Global/Exceptions
diff options
context:
space:
mode:
Diffstat (limited to 'VNLib.Data.Caching.Global/Exceptions')
-rw-r--r--VNLib.Data.Caching.Global/Exceptions/CacheNotLoadedException.cs14
-rw-r--r--VNLib.Data.Caching.Global/Exceptions/GlobalCacheException.cs12
2 files changed, 26 insertions, 0 deletions
diff --git a/VNLib.Data.Caching.Global/Exceptions/CacheNotLoadedException.cs b/VNLib.Data.Caching.Global/Exceptions/CacheNotLoadedException.cs
new file mode 100644
index 0000000..c3a3800
--- /dev/null
+++ b/VNLib.Data.Caching.Global/Exceptions/CacheNotLoadedException.cs
@@ -0,0 +1,14 @@
+namespace VNLib.Data.Caching.Global.Exceptions
+{
+ public class CacheNotLoadedException : GlobalCacheException
+ {
+ public CacheNotLoadedException()
+ { }
+
+ public CacheNotLoadedException(string? message) : base(message)
+ { }
+
+ public CacheNotLoadedException(string? message, Exception? innerException) : base(message, innerException)
+ { }
+ }
+} \ No newline at end of file
diff --git a/VNLib.Data.Caching.Global/Exceptions/GlobalCacheException.cs b/VNLib.Data.Caching.Global/Exceptions/GlobalCacheException.cs
new file mode 100644
index 0000000..89305a5
--- /dev/null
+++ b/VNLib.Data.Caching.Global/Exceptions/GlobalCacheException.cs
@@ -0,0 +1,12 @@
+namespace VNLib.Data.Caching.Global.Exceptions
+{
+ public class GlobalCacheException : Exception
+ {
+ public GlobalCacheException()
+ { }
+ public GlobalCacheException(string? message) : base(message)
+ { }
+ public GlobalCacheException(string? message, Exception? innerException) : base(message, innerException)
+ { }
+ }
+} \ No newline at end of file