Skip to content

InnerExceptionAssertionsChain<TException> Struct

Definition

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

public sealed struct InnerExceptionAssertionsChain<TException>
   where TException : Exception

Type Parameters

Name Description
TException The type of the inner exception.

Constructors

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

Properties

Name Description
That Gets the inner exception, for use in further assertions via .Should().