2025-04-26 23:15:54 +00:00
|
|
|
namespace SharpChat.Configuration;
|
2023-02-09 00:53:42 +01:00
|
|
|
|
2025-04-26 23:15:54 +00:00
|
|
|
public abstract class ConfigException : Exception {
|
|
|
|
public ConfigException(string message) : base(message) { }
|
|
|
|
public ConfigException(string message, Exception ex) : base(message, ex) { }
|
2023-02-09 00:53:42 +01:00
|
|
|
}
|
2025-04-26 23:15:54 +00:00
|
|
|
|
|
|
|
public class ConfigLockException() : ConfigException("Unable to acquire lock for reading configuration.") {}
|
|
|
|
public class ConfigTypeException(Exception ex) : ConfigException("Given type does not match the value in the configuration.", ex) {}
|