Skip to content

InnerExceptionAssertionsChain<TException> Struct ​

Definition ​

Enables further assertions on an inner exception after a successful inner exception assertion.

c#
public sealed struct InnerExceptionAssertionsChain<TException>
   where TException : Exception

View source

Type Parameters ​

NameDescription
TExceptionThe type of the inner exception.

Constructors ​

NameDescription
InnerExceptionAssertionsChain(TException)Enables further assertions on an inner exception after a successful inner exception assertion.

Properties ​

NameDescription
ThatGets the inner exception, for use in further assertions via .Should().