Class TestHttpResponseVerificationException

Namespace
XBullet.EasyTesting.Hosting
Assembly
XBullet.EasyTesting.dll

Thrown when a test scenario response does not satisfy an assertion.

public sealed class TestHttpResponseVerificationException : Exception, ISerializable
Inheritance
TestHttpResponseVerificationException
Implements
Inherited Members

Constructors

TestHttpResponseVerificationException(string, Exception?)

Thrown when a test scenario response does not satisfy an assertion.

public TestHttpResponseVerificationException(string message, Exception? innerException = null)

Parameters

message string

The assertion-failure message presented to the test runner.

innerException Exception

The underlying parsing or processing failure, or null when the assertion did not fail because of another exception. The exception retains but does not dispose this value.