Definition
Assembly: CloudNimble.Breakdance.DotHttp.dll Namespace: CloudNimble.Breakdance.DotHttp Inheritance: System.ExceptionSyntax
Summary
Exception thrown when a DotHttp assertion fails.Remarks
This exception is thrown by DotHttpAssertions methods when HTTP response validation fails.Examples
Constructors
.ctor
Initializes a new instance of the DotHttpAssertionException class.Syntax
.ctor
Initializes a new instance of the DotHttpAssertionException class with a specified error message.Syntax
Parameters
| Name | Type | Description |
|---|---|---|
message | string | The message that describes the error. |
.ctor
Initializes a new instance of the DotHttpAssertionException class with a specified error message and inner exception.Syntax
Parameters
| Name | Type | Description |
|---|---|---|
message | string | The message that describes the error. |
innerException | System.Exception | The exception that is the cause of the current exception. |