9 lines
477 B
C#
9 lines
477 B
C#
namespace SharpChat.Configuration;
|
|
|
|
public abstract class ConfigException : Exception {
|
|
public ConfigException(string message) : base(message) { }
|
|
public ConfigException(string message, Exception ex) : base(message, ex) { }
|
|
}
|
|
|
|
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) {}
|