Program Listing for File pretty_print_exception.h
↰ Return to documentation for file (include/mola_kernel/pretty_print_exception.h
)
/* -------------------------------------------------------------------------
* A Modular Optimization framework for Localization and mApping (MOLA)
* Copyright (C) 2018-2024 Jose Luis Blanco, University of Almeria
* See LICENSE for license information.
* ------------------------------------------------------------------------- */
#pragma once
#include <stdexcept>
#include <string>
namespace mola
{
void pretty_print_exception(
const std::exception& e, const std::string& headerLine,
const bool use_std_cerr = true);
} // namespace mola