mxlib
c++ tools for analyzing astronomical data and other tasks by Jared R. Males. [git repo]
Loading...
Searching...
No Matches

Functions

 unitTest::error_exception_test::TEST_CASE ("exception preserves error context", "[error::exception]")
 Verifies all mx::exception constructors and accessors used by hciReduce error paths.
 unitTest::error_exception_test::TEST_CASE ("unwind_exceptions extracts nested messages", "[error::exception]")
 Verifies recursive extraction of standard and non-standard nested exceptions.
 unitTest::error_exception_test::TEST_CASE ("print_exceptions formats nested messages", "[error::exception]")
 Verifies the ladder format produced by mx::print_exceptions.

Function Documentation

◆ TEST_CASE() [1/3]

unitTest::error_exception_test::TEST_CASE ( "exception preserves error context" ,
"" [error::exception] )

◆ TEST_CASE() [2/3]

unitTest::error_exception_test::TEST_CASE ( "print_exceptions formats nested messages" ,
"" [error::exception] )

Verifies the ladder format produced by mx::print_exceptions.

Definition at line 105 of file exception_test.cpp.

References mx::print_exceptions().

◆ TEST_CASE() [3/3]

unitTest::error_exception_test::TEST_CASE ( "unwind_exceptions extracts nested messages" ,
"" [error::exception] )

Verifies recursive extraction of standard and non-standard nested exceptions.

Definition at line 55 of file exception_test.cpp.

References mx::exception, and mx::unwind_exceptions().