fail
void fail(escaped string message, escaped string sourcefile = caller(sourcefile), uint sourceline = caller(sourceline), thrown Assertion* assertion)Throws an Assertion immediately.
Example
if (value == default)
fail("value was not created");Symbol
camp_fail
Parameters
escaped string
message
Human-readable failure message.
escaped string
sourcefile = caller(sourcefile)
Source file reported for the failure. By default, this is supplied by the caller.
uint
sourceline = caller(sourceline)
One-based source line reported for the failure. By default, this is supplied by the caller.
thrown Assertion*
assertion
Thrown assertion channel.
Generated with campc v0.6.0-preview.1+4dde68eca4014e9b19e7d7ad0fdae6b2036be640.