[#test_only_CheckFailuresAreExceptionsNotAborts] = test_only_CheckFailuresAreExceptionsNotAborts :mrdocs: RAII guard that makes failed checks throw instead of abort for the duration of a test. == Synopsis Declared in `<util/check.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct test_only_CheckFailuresAreExceptionsNotAborts; ---- == Member Functions [cols="1,4"] |=== | Name| Description | xref:test_only_CheckFailuresAreExceptionsNotAborts/2constructor.adoc[`test_only_CheckFailuresAreExceptionsNotAborts`] [.small]#[constructor]# | Enable throwing on check failure for the lifetime of this object. | xref:test_only_CheckFailuresAreExceptionsNotAborts/2destructor.adoc[`~test_only_CheckFailuresAreExceptionsNotAborts`] [.small]#[destructor]# | Restore the default abort‐on‐check‐failure behavior. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#