Refactor Api-Client
Add Exceptionhandler, AlertService JSON-Converter AppSettings via DI Reformat Code
This commit is contained in:
@@ -4,9 +4,15 @@ using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Jugenddienst_Stunden.Exceptions;
|
||||
namespace Jugenddienst_Stunden.Exceptions;
|
||||
|
||||
public class NoDataException : Exception {
|
||||
public NoDataException() : base("Keine Daten gefunden") { }
|
||||
public NoDataException(string message) : base(message) { }
|
||||
public NoDataException(string message, Exception inner) : base(message, inner) { }
|
||||
}
|
||||
public NoDataException() : base("Keine Daten gefunden") {
|
||||
}
|
||||
|
||||
public NoDataException(string message) : base(message) {
|
||||
}
|
||||
|
||||
public NoDataException(string message, Exception inner) : base(message, inner) {
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user