Class RestAssertionException

Namespace
ProtoTest.Rest.Exceptions
Assembly
ProtoTest.Rest.dll

Represents a failed REST assertion whose message names the request identifier it was made against. A shape failure keeps the shared JsonShapeMismatchException as its inner exception, so the mismatch list stays inspectable.

public sealed class RestAssertionException : ProtoAssertionException, ISerializable
Inheritance
RestAssertionException
Implements
Inherited Members
Extension Methods

Constructors

RestAssertionException(string)

public RestAssertionException(string message)

Parameters

message string

RestAssertionException(string, Exception)

public RestAssertionException(string message, Exception innerException)

Parameters

message string
innerException Exception