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

The mxlib exception class. More...

The mxlib exception class.

Definition in file exception.hpp.

#include <vector>
#include "error.hpp"

Go to the source code of this file.

Classes

class  mx::exception< verboseT >
 Augments an exception with the source file and line. More...
 

Namespaces

namespace  mx
 The mxlib c++ namespace.
 

Functions

void mx::unwind_exceptions (std::vector< std::string > &whats, const std::exception &e)
 Extract the explanatory string of nested exceptions, placing them in a vector.
 
void mx::print_exceptions (std::vector< std::string > &whats, const std::string &message="exception(s) thrown")
 Print nested exceptions to stderr, from the earliest to latest.