Table of Contents

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

message string
inner Exception

Methods

Equals(TestException?)

public bool Equals(TestException? other)

Parameters

other TestException

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

Operators

operator ==(TestException?, TestException?)

public static bool operator ==(TestException? left, TestException? right)

Parameters

left TestException
right TestException

Returns

bool

operator !=(TestException?, TestException?)

public static bool operator !=(TestException? left, TestException? right)

Parameters

left TestException
right TestException

Returns

bool