LCOV - code coverage report
Current view: top level - include - exceptions.hpp (source / functions) Hit Total Coverage
Test: coverage.info.cleaned Lines: 2 2 100.0 %
Date: 2020-12-14 08:13:14 Functions: 2 2 100.0 %

          Line data    Source code
       1             : #ifndef exceptions_hpp
       2             : #define exceptions_hpp
       3             : 
       4             : #include <exception>
       5             : #include <string>
       6             : 
       7             : class sayMessage : public std::exception
       8             : {
       9             :  public:
      10          36 :   explicit sayMessage(const std::string& message) : message_(message){};
      11           1 :   virtual const char* what() const noexcept { return message_.c_str(); }
      12             : 
      13             :  private:
      14             :   std::string message_;
      15             : };
      16             : 
      17             : #endif

Generated by: LCOV version 1.14