Huge refactor; Passing tests
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
namespace SimpleHttpServer.Types.Exceptions;
|
||||
|
||||
[Serializable]
|
||||
public class AssertionFailedException : Exception {
|
||||
public AssertionFailedException() { }
|
||||
public AssertionFailedException(string message) : base(message) { }
|
||||
public AssertionFailedException(string message, Exception inner) : base(message, inner) { }
|
||||
protected AssertionFailedException(
|
||||
System.Runtime.Serialization.SerializationInfo info,
|
||||
System.Runtime.Serialization.StreamingContext context) : base(info, context) { }
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
using System.Runtime.Serialization;
|
||||
|
||||
namespace SimpleHttpServer.Types.Exceptions;
|
||||
[Serializable]
|
||||
internal class MissingParameterConverterException : Exception {
|
||||
public MissingParameterConverterException() {
|
||||
}
|
||||
|
||||
public MissingParameterConverterException(string? message) : base(message) {
|
||||
}
|
||||
|
||||
public MissingParameterConverterException(string? message, Exception? innerException) : base(message, innerException) {
|
||||
}
|
||||
|
||||
protected MissingParameterConverterException(SerializationInfo info, StreamingContext context) : base(info, context) {
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user