using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DatenDB { public class LoginException : Exception { public LoginException() : base() { } public LoginException(string message) : base(message) { } public LoginException(string message, int errorCode) : base(message) { this.ErrorCode = errorCode; } public int ErrorCode { get; set; } = 0; } }