AssertionException Constructors
Initializes a new instance of the AssertionException class.
c#
public AssertionException(string message, Exception? innerException = null);Parameters
| Name | Type | Description |
|---|---|---|
message | String | The message. |
innerException | Exception | Optional inner exception. |