Created
January 18, 2024 16:50
-
-
Save Dodecahedrane/746d1b2e554caf1235c915a3386b78df to your computer and use it in GitHub Desktop.
C# Custom Exception
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class ExceptionName : Exception | |
{ | |
public ExceptionName() { } | |
public ExceptionName(string message) : base(message) { } | |
public ExceptionName(string message, Exception innerException) : base(message, innerException) { } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment