text: // ---------------------------------------------------------------------------------------------------------------------
  //
  /// @file       sigtermHandler
  /// @author     Nic Holthaus
  /// @date       11/10/2020
  /// @copyright  (c) 2020 Nic Holthaus
  //
  // ---------------------------------------------------------------------------------------------------------------------
  //
  /// @brief      $BRIEF
  /// @details
  //
  // ---------------------------------------------------------------------------------------------------------------------
  
  #ifndef LIBLOGERR_SIGTERMHANDLER_H
  #define LIBLOGERR_SIGTERMHANDLER_H
  
  //-------------------------
  //	INCLUDES
  //-------------------------
  
  #include <csignal>
  #include <exception>
  
  //----------------------------------------------------------------------------------------------------------------------
  //      CLASS: TerminateException
  //----------------------------------------------------------------------------------------------------------------------
  
  class TerminateException : std::exception
  {
  public:
  	TerminateException() = default;
  };
  
  //--------------------------------------------------------------------------------------------------
  //	FUNCTIONS
  //--------------------------------------------------------------------------------------------------
  
  // Provides a c++ signal handler that will gracefully exit the program
  void sigtermHandler(int sig);
  
  #endif    //LIBLOGERR_SIGTERMHANDLER_H
  