Class TestException
- Namespace
- MarymoorStudios.Core.Rpc.Exceptions
- Assembly
- MarymoorStudios.Core.Rpc.Exceptions.dll
An exception used in testing for type-based error discrimination.
[DataContract]
public sealed class TestException : Exception, ISerializable, IEquatable<TestException>
- Inheritance
-
TestException
- Implements
- Inherited Members
Constructors
TestException()
public TestException()
TestException(string?)
public TestException(string? message)
Parameters
message
string
TestException(string?, Exception?)
public TestException(string? message, Exception? inner)
Parameters
Methods
Equals(TestException?)
public bool Equals(TestException? other)
Parameters
other
TestException
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
obj
object
Returns
GetHashCode()
public override int GetHashCode()
Returns
Operators
operator ==(TestException?, TestException?)
public static bool operator ==(TestException? left, TestException? right)
Parameters
left
TestExceptionright
TestException
Returns
operator !=(TestException?, TestException?)
public static bool operator !=(TestException? left, TestException? right)
Parameters
left
TestExceptionright
TestException