Kanzi 3.9.10
Assert.StringFactory Interface Reference

Interface for a callback which returns the message string to be attached to an assertion error. More...

Public Member Functions

String message ()
 Returns the specified message.
 

Detailed Description

Interface for a callback which returns the message string to be attached to an assertion error.

Member Function Documentation

◆ message()

String message ( )

Returns the specified message.

Used as a lambda function to defer the message creation until the assertion fails.

Returns
The message the assertion should throw.