Hermod
A cross-platform, modular and fully GDPR-compliant email archival solution!
Loading...
Searching...
No Matches
Hermod.Config.ConfigNotFoundException Class Reference

Occurs when a requested config could not be found. More...

Inheritance diagram for Hermod.Config.ConfigNotFoundException:
Hermod.Config.ConfigException

Public Member Functions

 ConfigNotFoundException (string configName, string msg)
 
override string ToString ()
 
- Public Member Functions inherited from Hermod.Config.ConfigException
 ConfigException (string msg)
 

Properties

string OffendingConfig [get, private set]
 

Detailed Description

Occurs when a requested config could not be found.

Definition at line 8 of file ConfigNotFoundException.cs.

Constructor & Destructor Documentation

◆ ConfigNotFoundException()

Hermod.Config.ConfigNotFoundException.ConfigNotFoundException ( string  configName,
string  msg 
)
inline

Definition at line 11 of file ConfigNotFoundException.cs.

11 : base(msg) {
12 OffendingConfig = configName;
13 }

References Hermod.Config.ConfigNotFoundException.OffendingConfig.

Member Function Documentation

◆ ToString()

override string Hermod.Config.ConfigNotFoundException.ToString ( )
inline

Definition at line 15 of file ConfigNotFoundException.cs.

15 {
16 return $"{ Message }\nOffending config: { OffendingConfig }";
17 }

Property Documentation

◆ OffendingConfig

string Hermod.Config.ConfigNotFoundException.OffendingConfig
getprivate set

Definition at line 19 of file ConfigNotFoundException.cs.

19{ get; private set; }

Referenced by Hermod.Config.ConfigNotFoundException.ConfigNotFoundException().


The documentation for this class was generated from the following file: